FitAI Dev
Claude Opus 4.6
feat: add docker setup for dev environment and production deployment
b221b87 Download docker-compose.yml from xunwei/fitAI: direct link, hf CLI and curl.
- Browser
- Download file 478 Bytes
-
https://huggingface.co/spaces/xunwei/fitAI/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/xunwei/fitAI/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/xunwei/fitAI/resolve/main/docker-compose.yml
478 Bytes
| version: '3.8' | |
| services: | |
| backend: | |
| build: | |
| context: ./backend | |
| dockerfile: Dockerfile | |
| ports: | |
| - "8000:8000" | |
| volumes: | |
| - ./backend/sql_app.db:/app/sql_app.db | |
| restart: unless-stopped | |
| environment: | |
| # add any required backend env vars here | |
| - PYTHONUNBUFFERED=1 | |
| frontend: | |
| build: | |
| context: ./frontend | |
| dockerfile: Dockerfile | |
| ports: | |
| - "8080:80" | |
| depends_on: | |
| - backend | |
| restart: unless-stopped | |