Files
bigbox-docker/ollama-webui/docker-compose.yml
2025-08-31 13:37:36 +03:00

29 lines
664 B
YAML

services:
ollama:
image: ollama/ollama:latest
ports:
- "192.168.0.131:11434:11434" # Exposing API port
environment:
- OLLAMA_HOST=0.0.0.0:11434
restart: unless-stopped # Auto-restart
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
volumes:
- open-webui:/app/backend/data
depends_on:
- ollama
ports:
- 192.168.0.131:3001:8080
environment:
- 'OLLAMA_BASE_URL=http://192.168.0.131:11434'
- 'WEBUI_SECRET_KEY='
#extra_hosts:
#- host.docker.internal:host-gateway
restart: unless-stopped
volumes:
ollama: {}
open-webui: {}