fix: set default values for WEBUI_SECRET_KEY and HF_TOKEN in compose.yaml

This commit is contained in:
Nathan 2026-04-21 13:27:52 -04:00
parent 1ff08971dd
commit d81a75e1ea

View File

@ -7,9 +7,11 @@ services:
# If Ollama is on the same host (Waldorf) # If Ollama is on the same host (Waldorf)
- OLLAMA_BASE_URL=http://10.0.0.202:11434 - OLLAMA_BASE_URL=http://10.0.0.202:11434
# Standard settings # Standard settings
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY} - WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY:-change-me-to-a-random-secret}
- HF_TOKEN=${HF_TOKEN} - HF_TOKEN=${HF_TOKEN:-}
- TZ=America/New_York - TZ=America/New_York
ports:
- "8080:8080"
volumes: volumes:
- /mnt/appdata/openwebui:/app/backend/data - /mnt/appdata/openwebui:/app/backend/data
# If you need to talk to your new MCP Gateway # If you need to talk to your new MCP Gateway
@ -19,5 +21,6 @@ services:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.openwebui.rule=Host(`gpt.castaldifamily.com`)" - "traefik.http.routers.openwebui.rule=Host(`gpt.castaldifamily.com`)"
- "traefik.http.routers.openwebui.entrypoints=websecure" - "traefik.http.routers.openwebui.entrypoints=websecure"
- "traefik.http.routers.openwebui.tls=true"
- "traefik.http.routers.openwebui.tls.certresolver=cloudflare" - "traefik.http.routers.openwebui.tls.certresolver=cloudflare"
- "traefik.http.services.openwebui.loadbalancer.server.port=8080" - "traefik.http.services.openwebui.loadbalancer.server.port=8080"