Spaces:
Sleeping
Sleeping
Download docker-compose.yml from vicky0406/synapse-openenv: direct link, hf CLI and curl.
- Browser
- Download file 877 Bytes
-
https://huggingface.co/spaces/vicky0406/synapse-openenv/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/vicky0406/synapse-openenv/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/vicky0406/synapse-openenv/resolve/main/docker-compose.yml
877 Bytes
| # Docker Compose for local development and testing | |
| # | |
| # Start with: docker-compose up --build | |
| # Access server at: http://localhost:8000 | |
| # Docs at: http://localhost:8000/docs | |
| # WebSocket at: ws://localhost:8000/ws | |
| version: "3.9" | |
| services: | |
| medical-diagnostic-env: | |
| build: | |
| context: . | |
| dockerfile: server/Dockerfile | |
| container_name: medical-diagnostic-env | |
| ports: | |
| - "8000:8000" | |
| environment: | |
| - PORT=8000 | |
| - WORKERS=2 # Reduce for local development | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:8000/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 5s | |
| volumes: | |
| - .:/app # For live code reloading during development (optional) | |
| networks: | |
| - medical-net | |
| networks: | |
| medical-net: | |
| driver: bridge | |