WEBUI_SECRET_KEY закреплён через .env (сессии переживают обновления)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user