feat: add Docker setup and CI workflows for headless server
Some checks failed
Build and push Docker image (Gitea) / build (push) Failing after 2m12s

This commit is contained in:
2026-09-01 19:55:28 +07:00
parent 4af0dd0685
commit f7391a6971
10 changed files with 351 additions and 1 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
services:
server:
build: .
ports:
- "12345:12345"
environment:
HOST: "0.0.0.0"
PORT: "12345"
MODEL_DIR: "/app/models"
DATA_DIR: "/data"
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).