Download source/deploy/docker-compose.yml from DeepEduVN/bungpt-open: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/DeepEduVN/bungpt-open/resolve/main/source/deploy/docker-compose.yml
- Command line
-
hf download hf://DeepEduVN/bungpt-open/source/deploy/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/DeepEduVN/bungpt-open/resolve/main/source/deploy/docker-compose.yml
1.07 kB
| # BunGPT-DeepEdu-Decision-4B-Open: POST /v1/systemone, GET /health on port ${PORT:-9100}. | |
| # From a full download of DeepEduVN/bungpt-open: cd source/deploy && docker compose up -d --build | |
| # MODEL_DIR defaults to the downloaded repo itself (two levels up). Settings go in deploy/.env (see .env.example). | |
| services: | |
| decision: | |
| build: | |
| context: .. | |
| dockerfile: deploy/Dockerfile | |
| image: deepedu-decision:0.1.0 | |
| restart: unless-stopped | |
| ports: | |
| - "${PORT:-9100}:9100" | |
| volumes: | |
| - ${MODEL_DIR:-../..}:/model:ro | |
| - decision-cache:/cache # Triton kernel cache: faster restarts | |
| command: ${SERVE_ARGS:-} | |
| shm_size: 1g | |
| tmpfs: | |
| - /tmp # scratch files stay in RAM, not in the container layer | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - driver: nvidia | |
| device_ids: ["${GPU:-0}"] | |
| capabilities: [gpu] | |
| logging: | |
| driver: json-file | |
| options: {max-size: "50m", max-file: "5"} | |
| volumes: | |
| decision-cache: | |