Download docker-compose.yml from mathurinacheisoft/capscore-agent: direct link, hf CLI and curl.
- Browser
- Download file 740 Bytes
-
https://huggingface.co/spaces/mathurinacheisoft/capscore-agent/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/mathurinacheisoft/capscore-agent/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/mathurinacheisoft/capscore-agent/resolve/main/docker-compose.yml
740 Bytes
| services: | |
| api: | |
| build: ./api | |
| ports: | |
| - '8000:8000' | |
| volumes: | |
| - ./runs:/app/runs | |
| env_file: .env | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ['CMD', 'curl', '-f', 'http://localhost:8000/health'] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 10s | |
| cap-provider: | |
| build: ./cap-provider | |
| depends_on: | |
| api: | |
| condition: service_healthy | |
| env_file: .env | |
| restart: unless-stopped | |
| frontend: | |
| image: nginx:alpine | |
| depends_on: | |
| api: | |
| condition: service_healthy | |
| volumes: | |
| - ./frontend:/usr/share/nginx/html:ro | |
| - ./deploy/nginx.conf:/etc/nginx/conf.d/default.conf:ro | |
| ports: | |
| - '8080:80' | |
| restart: unless-stopped | |