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