Add open-webui-docker-compose.yml

This commit is contained in:
rob.mcewan 2024-10-29 09:53:18 +00:00
parent 331c0ebd0e
commit c58189d736

View file

@ -0,0 +1,16 @@
services:
open-webui:
build:
dockerfile: Dockerfile
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
container_name: open-webui
volumes:
- /home/rob/docker/open-webui:/app/backend/data
ports:
- ${OPEN_WEBUI_PORT-3000}:8080
environment:
- 'OLLAMA_BASE_URL=http://172.16.50.56:11434'
- 'WEBUI_SECRET_KEY='
extra_hosts:
- host.docker.internal:host-gateway
restart: unless-stopped