iridescentX/openui
0
1services:2 ollama:3 volumes:4 - ollama:/root/.ollama5 container_name: ollama6 pull_policy: always7 tty: true8 restart: unless-stopped9 image: ollama/ollama:${OLLAMA_DOCKER_TAG-latest}10 11 open-webui:12 build:13 context: .14 args:15 OLLAMA_BASE_URL: '/ollama'16 dockerfile: Dockerfile17 image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}18 container_name: open-webui19 volumes:20 - open-webui:/app/backend/data21 depends_on:22 - ollama23 ports:24 - ${OPEN_WEBUI_PORT-3000}:808025 environment:26 - 'OLLAMA_BASE_URL=http://ollama:11434'27 - 'WEBUI_SECRET_KEY='28 extra_hosts:29 - host.docker.internal:host-gateway30 restart: unless-stopped31 32volumes:33 ollama: {}34 open-webui: {}35 