This commit is contained in:
Tord-Vincent Heggland
2026-04-04 18:22:44 +02:00
commit a853ca32d6
2 changed files with 33 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.env

32
docker-compose.yaml Normal file
View File

@@ -0,0 +1,32 @@
version: "3.9"
services:
ollama:
image: ollama/ollama
container_name: ollama
restart: unless-stopped
volumes:
- ./ollama:/root/.ollama
networks:
- ai-net
webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
restart: unless-stopped
depends_on:
- ollama
ports:
- "${WG_IP}:${WEB_PORT}:8080"
volumes:
- ollamaweb:/app/backend/data
environment:
- OLLAMA_BASE_URL=http://ollama:11434
networks:
- ai-net
networks:
ai-net:
volumes:
ollamaweb: