feat: add Docker setup and CI workflows for headless server
Some checks failed
Build and push Docker image (Gitea) / build (push) Failing after 2m12s
Some checks failed
Build and push Docker image (Gitea) / build (push) Failing after 2m12s
This commit is contained in:
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal 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).
|
||||
Reference in New Issue
Block a user