Spaces:
Sleeping
Sleeping
Download frontend/docker-compose.yml from misack/war_gaming: direct link, hf CLI and curl.
- Browser
- Download file 867 Bytes
-
https://huggingface.co/spaces/misack/war_gaming/resolve/main/frontend/docker-compose.yml
- Command line
-
hf download hf://spaces/misack/war_gaming/frontend/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/misack/war_gaming/resolve/main/frontend/docker-compose.yml
867 Bytes
| # docker-compose for the whole Board Console + backend stack. | |
| # | |
| # Assumes the FastAPI backend lives one directory up at ../wargaming-backend | |
| # and exposes `wargame.api.app:app` on port 8080. | |
| # | |
| # Run: | |
| # docker compose up --build | |
| # Then open http://localhost:5173 | |
| services: | |
| backend: | |
| build: | |
| context: ../wargaming-backend | |
| dockerfile: Dockerfile | |
| environment: | |
| - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} | |
| - LOG_LEVEL=${LOG_LEVEL:-INFO} | |
| ports: | |
| - "8080:8080" | |
| volumes: | |
| - backend-data:/data | |
| healthcheck: | |
| test: ["CMD", "wget", "-qO-", "http://localhost:8080/healthz"] | |
| interval: 10s | |
| timeout: 3s | |
| retries: 10 | |
| frontend: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| depends_on: | |
| backend: | |
| condition: service_healthy | |
| ports: | |
| - "5173:80" | |
| volumes: | |
| backend-data: | |