services: api: build: context: . dockerfile: Dockerfile.api ports: - "5000:5000" volumes: - ./data:/app/data environment: - JWT_SECRET=${JWT_SECRET} - ASPNETCORE_ENVIRONMENT=Production restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5000/api/sync/status"] interval: 30s timeout: 10s retries: 3