657 B
657 B
Docker and Compose
docker-compose.yml defines backend, frontend, ai-service, and an opt-in bundled-ollama profile. The backend stores persistent data in /data; the AI service is exposed only inside the private ai_internal network. The frontend publishes port 3000 and proxies /api; development additionally publishes the API on port 5202 and Ollama on 11434.
Compose health checks are liveness-oriented: backend /health avoids database access, frontend checks nginx, and service dependencies wait for backend health. Use docker compose config only with sanitized output; never paste the resolved environment into tickets or documentation.