Spaces:
Configuration error
Configuration error
Download docker-compose.yml from Sivaneshakumar/sanjeevani-api: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/spaces/Sivaneshakumar/sanjeevani-api/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/Sivaneshakumar/sanjeevani-api/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/Sivaneshakumar/sanjeevani-api/resolve/main/docker-compose.yml
1.17 kB
| version: "3.8" | |
| services: | |
| backend: | |
| build: | |
| context: . | |
| dockerfile: backend/Dockerfile | |
| container_name: sanjeevani-backend | |
| ports: | |
| - "8000:8000" | |
| environment: | |
| - APP_ENV=production | |
| - DEBUG=false | |
| - DATABASE_URL=sqlite+aiosqlite:///sanjeevani.db | |
| - SECRET_KEY=sanjeevani_super_secret_jwt_key_production_2026_enterprise_grade | |
| - MODEL_PATH=models/bc5cdr-ner | |
| - LLM_PROVIDER=mock | |
| - CORS_ORIGINS=["http://localhost:3000","http://127.0.0.1:3000"] | |
| volumes: | |
| - ./uploads:/app/uploads | |
| - ./models:/app/models | |
| - ./sanjeevani.db:/app/sanjeevani.db | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:8000/api/v1/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| frontend: | |
| build: | |
| context: ./frontend | |
| dockerfile: Dockerfile | |
| container_name: sanjeevani-frontend | |
| ports: | |
| - "3000:3000" | |
| environment: | |
| - NEXT_PUBLIC_API_URL=http://localhost:8000/api/v1 | |
| depends_on: | |
| backend: | |
| condition: service_healthy | |
| restart: unless-stopped | |
| networks: | |
| default: | |
| name: sanjeevani-network | |