Add docker-compose.yml

This commit is contained in:
2026-04-13 18:46:42 -05:00
commit ab7ceb47fe
+23
View File
@@ -0,0 +1,23 @@
services:
ollama:
image: ollama/ollama
container_name: ollama
volumes:
- ./ollama:/root/.ollama
ports:
- "12434:11434"
restart: unless-stopped
# Add GPU support here if needed (see previous response)
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
volumes:
- ./open-webui:/app/backend/data
ports:
- "12000:8080"
environment:
- OLLAMA_BASE_URL=http://ollama:11434
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped