Files
compose/open-webui/docker-compose.yml

17 lines
541 B
YAML

services:
# Eventually once on server with good gpu, use ollama instead of localhost
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
volumes:
- /docker/appdata/open-webui/data:/app/backend/data
ports:
- 9009:8080
environment:
- 'OLLAMA_BASE_URL=http://ollama-network:11434'
# - 'WEBUI_SECRET_KEY=' Set this for jwt secret key. Should be rendomly generated at start
restart: unless-stopped
networks:
- ollama-network
depends_on:
- ollama