services: backend: build: context: . dockerfile: backend/Dockerfile ports: - "${BACKEND_PORT:-8000}:8000" env_file: - backend/.env environment: - HOST=0.0.0.0 - PORT=8000 healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] interval: 30s timeout: 10s retries: 3 start_period: 10s restart: unless-stopped