services: app: build: . container_name: app-service restart: unless-stopped environment: SECRET_KEY: ${SECRET_KEY} ALLOWED_HOSTS: ${ALLOWED_HOSTS} volumes: - ./config:/config ports: - "5174:8000" healthcheck: test: [ "CMD-SHELL", "curl -f http://localhost:8000/health || exit 1" ] interval: 30s timeout: 10s start_period: 40s retries: 3