Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.06 KB

File metadata and controls

28 lines (20 loc) · 1.06 KB

docker/

Shared Docker assets for CI and CD.

  • Dockerfile.weblate-plugin — Overlay on weblate/weblate:latest; installs the plugin via uv pip install and copies settings-override.py.
  • docker-compose.ci.yml — PostgreSQL + Redis + Weblate stack for integration tests and CI.
  • docker-compose.cd.yml — Weblate-only stack for staging/production (host Postgres, shared Redis).

Usage

# CI / integration tests (from repo root):
docker compose -f docker/docker-compose.ci.yml build
docker compose -f docker/docker-compose.ci.yml up -d

# CD on deploy server (copy .env.example to repo-root .env; set WEBLATE_URL_PREFIX, REDIS_DB, secrets):
cp .env.example .env
docker compose -f docker/docker-compose.cd.yml --env-file .env build
docker compose -f docker/docker-compose.cd.yml --env-file .env up -d

Set WEBLATE_URL_PREFIX=/weblate when nginx serves the app under /weblate/. Use REDIS_DB=1 when sharing Redis with other stacks.