version: '3.8' services: backend: build: . container_name: patients-express-backend ports: - "8000:8000" environment: - NODE_ENV=production - PORT=8000 - MONGO_URI=${MONGO_URI} - JWT_SECRET_KEY=${JWT_SECRET_KEY} - HF_TOKEN=${HF_TOKEN} volumes: - chroma_data:/app/chroma_db restart: unless-stopped healthcheck: test: ["CMD", "node", "-e", "require('http').get('http://localhost:8000/', (r) => process.exit(r.statusCode === 200 ? 0 : 1))"] interval: 30s timeout: 10s retries: 3 start_period: 10s volumes: chroma_data: driver: local