From a853ca32d604ab478ac278035c5cf9b0c247463e Mon Sep 17 00:00:00 2001 From: Tord-Vincent Heggland Date: Sat, 4 Apr 2026 18:22:44 +0200 Subject: [PATCH] first --- .gitignore | 1 + docker-compose.yaml | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .gitignore create mode 100644 docker-compose.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..05bfe1d --- /dev/null +++ b/docker-compose.yaml @@ -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: