From ab7ceb47fee7980bacac004d7d0d43153c2ad536 Mon Sep 17 00:00:00 2001 From: mattspeer Date: Mon, 13 Apr 2026 18:46:42 -0500 Subject: [PATCH] Add docker-compose.yml --- docker-compose.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f1570fd --- /dev/null +++ b/docker-compose.yml @@ -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 \ No newline at end of file