Spaces:
Sleeping
Sleeping
Download docker-compose.yml from vdgargIIITA/notes-mgmt: direct link, hf CLI and curl.
- Browser
- Download file 574 Bytes
-
https://huggingface.co/spaces/vdgargIIITA/notes-mgmt/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/vdgargIIITA/notes-mgmt/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/vdgargIIITA/notes-mgmt/resolve/main/docker-compose.yml
574 Bytes
| version: '3.8' | |
| services: | |
| backend: | |
| build: . | |
| container_name: notes-backend | |
| ports: | |
| - "7860:7860" | |
| environment: | |
| - PYTHONUNBUFFERED=1 | |
| - PYTHONPATH=/app | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:7860/health', timeout=2)"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 5s | |
| volumes: | |
| - ./app:/app/app # For hot reload during development | |
| networks: | |
| - notes-network | |
| networks: | |
| notes-network: | |
| driver: bridge |