Replies: 3 comments
-
follow the documentation to add environment variables |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi all version: '3.8'
services:
open-webui:
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
container_name: open-webui
volumes:
- open-webui:/app/backend/data
networks:
- webproxy
extra_hosts:
- host.docker.internal:host-gateway
restart: unless-stopped
volumes:
open-webui: {}
networks:
webproxy:
name: webproxy
external: true ENV=prod
OPENAI_API_BASE_URLS="https://api.openai.com/v1;https://api.groq.com/openai/v1"
OPENAI_API_KEYS="key1;key2" |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ouch.. my bad I just realized I had by mistake deleted the environment key... :)) So it's owrking obviously very well like so: version: '3.8'
services:
open-webui:
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
container_name: open-webui
volumes:
- open-webui:/app/backend/data
networks:
- webproxy
extra_hosts:
- host.docker.internal:host-gateway
restart: unless-stopped
environment:
- 'OPENAI_API_BASE_URLS=${OPENAI_API_BASE_URLS}'
- 'OPENAI_API_KEYS=${OPENAI_API_KEYS}'
- 'OLLAMA_BASE_URL=${OLLAMA_BASE_URL}'
- 'ENV=${ENV}'
volumes:
open-webui: {}
networks:
webproxy:
name: webproxy
external: true |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Report
Description
When restarting the Open WebUI docker container API key settings are lost
Bug Summary:
When restarting the Open WebUI docker container API key settings are lost
Steps to Reproduce:
Enter a API key, save and restart Docker
Expected Behavior:
API key persists after restart
Actual Behavior:
API key is lost after restart
Environment
Open WebUI Version: 0.1.1222
Operating System: Docker running in Portainer
Reproduction Details
Confirmation:
Logs and Screenshots
Docker Container Logs:
owebui.log
Screenshots (if applicable):
Before restart
After restart
Installation Method
Docker
Beta Was this translation helpful? Give feedback.
All reactions