Update docker-compose.yaml
Some checks failed
Updates/open-webui-ollama-docker-deploy/pipeline/head There was a failure building this commit

This commit is contained in:
Adam Outler 2025-04-03 14:36:55 +00:00
parent ead998e840
commit bf59607685

View File

@ -63,6 +63,9 @@ services:
ENABLE_REALTIME_CHAT_SAVE: False ENABLE_REALTIME_CHAT_SAVE: False
ENV: dev ENV: dev
#Database
DATABASE_URL: postgresql+psycopg2://openwebui_user:${PG_PASS}@openwebui_postgres_db:5432/openwebui_db
# Ollama # Ollama
OLLAMA_BASE_URL: http://ollama1:11434 OLLAMA_BASE_URL: http://ollama1:11434
OLLAMA_BASE_URLS: http://ollama1:11434,http://ollama2:11434 OLLAMA_BASE_URLS: http://ollama1:11434,http://ollama2:11434
@ -144,6 +147,18 @@ services:
networks: networks:
- shared_net - shared_net
openwebui_postgres_db: # Renamed service key (lowercase)
image: postgres:latest
container_name: openwebui_postgres_db # Keep container name consistent
restart: always
environment:
POSTGRES_DB: openwebui_db
POSTGRES_USER: openwebui_user
POSTGRES_PASSWORD: ${PG_PASS}
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- shared_net
volumes: volumes:
ollama: ollama:
@ -151,6 +166,7 @@ volumes:
data: data:
chromadb: chromadb:
redis_data: redis_data:
postgres_data:
networks: networks:
shared_net: shared_net: