From 96bfe2e1505b4ae250f2d5201f9541ceb01cec84 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 29 Oct 2026 19:58:05 -0700 Subject: ts web slopify code --- docker-compose.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docker-compose.yml (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..ecc2380 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +services: + ts6-webview: + build: + context: . + dockerfile: Dockerfile + container_name: ts6-webview + restart: unless-stopped + env_file: + - .env + environment: + WEB_HOST: "0.0.0.0" + WEB_PORT: "5000" + # Set to true when running behind Nginx / Caddy on the same host so + # per-IP rate limits use X-Forwarded-For instead of the proxy IP. + VOICE_TRUST_PROXY: "true" + ports: + - "127.0.0.1:5000:5000" + volumes: + - ./config.toml:/app/config.toml:ro + - ./static:/app/static:ro + # Optional resource cap for small arm64 SBCs + deploy: + resources: + limits: + memory: 256M -- cgit v1.2.3