Spaces:
Sleeping
Sleeping
Download docker-compose.yml from adithya9903/polypharmacy: direct link, hf CLI and curl.
- Browser
- Download file 725 Bytes
-
https://huggingface.co/spaces/adithya9903/polypharmacy/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/adithya9903/polypharmacy/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/adithya9903/polypharmacy/resolve/main/docker-compose.yml
725 Bytes
| version: "3.9" | |
| services: | |
| backend: | |
| build: | |
| context: . | |
| dockerfile: backend/Dockerfile | |
| container_name: polypharmacy-backend | |
| env_file: | |
| - .env | |
| ports: | |
| - "7860:7860" | |
| volumes: | |
| - ./backend/src:/app/backend/src | |
| - ./data:/app/data | |
| - ./scripts:/app/scripts | |
| - ./backend:/app/backend | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:7860/health"] | |
| interval: 20s | |
| timeout: 5s | |
| retries: 5 | |
| frontend: | |
| build: | |
| context: . | |
| dockerfile: frontend/Dockerfile | |
| container_name: polypharmacy-frontend | |
| depends_on: | |
| - backend | |
| ports: | |
| - "5173:5173" | |
| volumes: | |
| - ./frontend:/app | |
| - /app/node_modules | |