mirror of
https://github.com/open-webui/open-webui
synced 2025-04-16 05:22:46 +00:00
Dockerfile update for GCP 3
This commit is contained in:
parent
0217854b00
commit
e11f843ee2
@ -4,9 +4,8 @@ services:
|
||||
litellm:
|
||||
container_name: litellm
|
||||
image: ghcr.io/berriai/litellm:main-v1.61.7
|
||||
environment:
|
||||
- "AZURE_OPENAI_API_BASE_URL=${AZURE_OPENAI_API_BASE_URL}"
|
||||
- "AZURE_OPENAI_API_KEY=${AZURE_OPENAI_API_KEY}"
|
||||
env_file:
|
||||
- .env
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "4000:4000"
|
||||
@ -18,21 +17,18 @@ services:
|
||||
|
||||
beyond-the-loop:
|
||||
image: ghcr.io/philszalay/beyond-the-loop:main
|
||||
#build:
|
||||
# context: .
|
||||
# dockerfile: Dockerfile
|
||||
# args:
|
||||
# LITELLM_BASE_URL: '/litellm'
|
||||
container_name: beyond-the-loop
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- OPENAI_API_BASE_URL=http://litellm:4000/v1
|
||||
- DATABASE_URL=sqlite:////app/backend/data/database.sqlite
|
||||
volumes:
|
||||
- ./backend/data:/app/backend/data
|
||||
depends_on:
|
||||
- litellm
|
||||
ports:
|
||||
- "8080:8080" # Open Web UI port
|
||||
environment:
|
||||
- "OPENAI_API_BASE_URL=http://litellm:4000/v1" # Point Open Web UI to LiteLLM
|
||||
- "DATABASE_URL=sqlite:////app/backend/data/database.sqlite"
|
||||
- "8000:8000"
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user