From cef845c2e34fec1c86540d2142b718e5552a5cb7 Mon Sep 17 00:00:00 2001 From: mram Date: Sun, 20 Sep 2026 19:24:26 +0200 Subject: [PATCH] Add compose.yaml.example; ignore local compose files --- .gitignore | 2 ++ compose.yaml.example | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 compose.yaml.example diff --git a/.gitignore b/.gitignore index a2e7d88..aceb9d6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /gpu-turnstile /gpu-turnstile.exe +/compose.yaml +/compose.yml diff --git a/compose.yaml.example b/compose.yaml.example new file mode 100644 index 0000000..b264bdd --- /dev/null +++ b/compose.yaml.example @@ -0,0 +1,25 @@ +# Example deployment for gpu-turnstile. Copy to compose.yaml and adjust. +# +# gpu-turnstile listens on the ports the services normally use; the actual +# Ollama and ComfyUI instances run one port higher on the workstation. +services: + gpu-turnstile: + image: git.rambossek.at/PUBLIC/gpu-turnstile:v0.1.1 + restart: unless-stopped + environment: + OLLAMA_URL: http://:11435 + COMFY_URL: http://:8189 + # UNLOAD_TIMEOUT: 60s + # JOB_TIMEOUT: 15m + # LLM_WAIT_TIMEOUT: 10m + # WARM_MODEL: qwen3:14b + # LOG_LEVEL: info + # LOG_FORMAT: json + ports: + - "11434:11434" # LiteLLM api_base -> http://gpu-turnstile:11434 + - "8188:8188" # Open WebUI COMFYUI_BASE_URL -> http://gpu-turnstile:8188 + networks: [internal] + +networks: + internal: + external: true