Spaces:
Sleeping
Sleeping
File size: 641 Bytes
cd5e33d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 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
|