# ============================================================================= # Tale Docs (Documentation site) — Standalone Docker Compose # ============================================================================= # The documentation site at docs.tale.dev runs independently of the platform # stack and has its own environment file at services/docs/.env.example. # # Usage: # Local build: docker compose -f compose.docs.yml up --build # Pull image: docker compose -f compose.docs.yml pull && docker compose -f compose.docs.yml up -d # # Image: # ghcr.io/tale-project/tale/tale-docs:${VERSION:-latest} services: docs: image: ghcr.io/tale-project/tale/tale-docs:${VERSION:-latest} container_name: tale-docs pull_policy: ${PULL_POLICY:-build} build: context: . dockerfile: services/docs/Dockerfile args: VERSION: ${VERSION:-dev} DOCS_BASE_URL: ${DOCS_BASE_URL:-/} DOCS_SITE_URL: ${DOCS_SITE_URL:-https://docs.tale.dev} env_file: # Optional: the docs site runs fine on its build-arg defaults. Marked # not-required so the file's absence doesn't fail compose validation for # the whole project (the platform dev bring-up includes this file only to # satisfy the `docs` override in compose.dev.yml — it never starts docs). - path: services/docs/.env required: false ports: - '3002:3002' restart: unless-stopped healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:3002/api/health'] interval: 30s timeout: 3s retries: 3 start_period: 10s logging: driver: 'json-file' options: max-size: '10m' max-file: '3'