Files
UfaHack2024/docker-compose.yml
Coder 6217b88a47
Some checks are pending
Build and push Docker image (Gitea) / build (push) Waiting to run
Обновить docker-compose.yml
2026-09-01 20:32:14 +07:00

20 lines
530 B
YAML

services:
server:
build: .
ports:
- "12345:12345"
environment:
HOST: "0.0.0.0"
PORT: "12345"
MODEL_DIR: "/app/models"
DATA_DIR: "/data"
NVIDIA_VISIBLE_DEVICE: ALL
runtime: nvidia
volumes:
- ./server:/app/server
- ./models:/app/models
- ./data:/data
# Notes:
# - Place .cbm model files in ./models/ on the host before starting.
# - Docker creates missing host directories (./models/, ./data/) automatically
# (they will be owned by root on Linux).