File size: 1,065 Bytes
127ebd5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # 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:
|