Files
Nathan Fretz b5f09244e8 Update nginx sidecar to 1.30.7-alpine in 8 apps
Security update for the nginx web server sidecar in agora, mosquitto,
netbird, rustdesk-server, public-pool, openreader, plane and wger.
Package-only patch bumps; no upstream app changes.
2026-11-19 13:29:01 +10:00

44 lines
2.1 KiB
YAML

version: '3.7'
services:
app_proxy:
environment:
APP_HOST: openreader_gateway_1
APP_PORT: 8080
# OpenReader v5 returns absolute URLs for its separate audio worker. Route the
# UI and signed audio through app_proxy so playback uses the browser's origin
# without publishing a separate worker port. This is an Umbrel workaround;
# upstream support for relative playback URLs would let us drop the response
# rewriting in nginx.conf.template and keep only the proxy routing.
gateway:
image: nginx:1.30.7-alpine@sha256:bef154735288bc38d99fac41ae63730684bcc661503673a04a0f9bc526ba8598
user: "1000:1000"
entrypoint: ["nginx", "-g", "daemon off;"]
restart: on-failure
depends_on:
- web
volumes:
- ${APP_DATA_DIR}/nginx.conf:/etc/nginx/nginx.conf:ro
web:
image: ghcr.io/richardr1126/openreader:5.5.0@sha256:2cad424802c019959c94a6639e41ceba4b444e22b12b69ebc4a78967d2f28df9
user: "1000:1000"
environment:
- API_BASE=http://kokoro_web_1:8880/v1 #Set the TTS API_BASE URL and/or API_KEY as the default for all devices. These values can also be overridden in the UI.
- API_MODEL_NAME=kokoro
- BASE_URL=http://${DEVICE_DOMAIN_NAME}:3391
- AUTH_SECRET=${APP_SEED}
# Allows auth requests from the primary .local URL, device hostname, Tailscale FQDNs, and host IP URLs.
- AUTH_TRUSTED_ORIGINS=http://${DEVICE_DOMAIN_NAME}:3391,https://${DEVICE_DOMAIN_NAME}:3391,http://${DEVICE_HOSTNAME}:3391,https://${DEVICE_HOSTNAME}:3391,http://*.ts.net:3391,https://*.ts.net:3391,${APP_OPENREADER_LOCAL_URLS}
- USE_ANONYMOUS_AUTH_SESSIONS=true
- TTS_PLAYBACK_TOKEN_SECRET=${APP_OPENREADER_PLAYBACK_SECRET}
- COMPUTE_WORKER_HOST=0.0.0.0
# Deliberate placeholder: the gateway replaces this origin in the session
# response with a relative audio path. Keep it in sync with the sub_filter
# in nginx.conf.template; browsers must never receive the placeholder.
- COMPUTE_WORKER_PUBLIC_URL=http://openreader-playback.invalid
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data/docstore:/app/docstore