feat(docker-compose.yml): add open-webui service to docker-compose file

This commit is contained in:
David Ibia
2025-01-06 15:54:25 +01:00
parent 9d8b6fef07
commit 8087a47749

View File

@@ -0,0 +1,26 @@
services:
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
extra_hosts:
- host.docker.internal:host-gateway
ports:
- 8080:8080
networks:
- webui-network
environment:
UID: 1000
PID: 1000
OLLAMA_BASE_URL: http://host.docker.internal:11434
WEBUI_SECRET_KEY:
volumes:
- ./data/webui:/app/backend/data
networks:
webui-network:
driver: bridge