Created
May 20, 2024 15:32
-
-
Save storopoli/a1a9a06d2af945ad35fbb229d49b4473 to your computer and use it in GitHub Desktop.
Open-WebUI Self-Hosted Proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model_list: | |
- model_name: 'llama3-70b' | |
litellm_params: | |
model: 'groq/llama3-70b-8192' | |
api_key: 'os.environ/GROQ_API_KEY' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
open-webui: | |
container_name: 'open-webui' | |
image: 'ghcr.io/open-webui/open-webui:main' | |
volumes: | |
- './open-webui:/app/backend/data:rw' | |
- './config.yaml:/app/backend/data/litellm/config.yaml:ro' | |
ports: | |
- '443:8080' | |
environment: | |
DEFAULT_MODELS: 'llama3-70b' | |
ENABLE_SIGNUP: 'False' | |
OPENAI_API_BASE_URLS: 'https://api.deepinfra.com/v1/openai' | |
env_file: | |
- 'GROQ_API_KEYS.env' | |
# Created with | |
# node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" | |
- 'WEBUI_SECRET_KEY.env' | |
logging: | |
driver: 'json-file' | |
options: | |
max-size: '10m' | |
max-file: '10' | |
extra_hosts: | |
- 'host.docker.internal:host-gateway' | |
restart: 'unless-stopped' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GROQ_API_KEY=<REDACTED> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WEBUI_SECRET_KEY="<REDACTED>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment