WEBUI_SECRET_KEY закреплён через .env (сессии переживают обновления)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-14 20:42:37 +00:00
co-authored by Claude Fable 5
parent 3831ae0dd2
commit 4288fccbb8
+9
View File
@@ -8,6 +8,8 @@ services:
- openwebui_data:/app/backend/data
environment:
- OLLAMA_BASE_URL=http://host.docker.internal:11434
# закреплён, чтобы обновления контейнера не разлогинивали сессии
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}
labels:
- "traefik.enable=true"
@@ -15,6 +17,13 @@ services:
- "traefik.http.routers.openwebui.entrypoints=websecure"
- "traefik.http.routers.openwebui.tls=true"
- "traefik.http.routers.openwebui.tls.certresolver=myresolver"
networks:
- proxy
volumes:
openwebui_data:
networks:
proxy:
external: true
name: traefik_proxy