Add docker-compose.yml

This commit is contained in:
2025-01-09 17:15:49 +01:00
parent 9b5deeaef5
commit 052e5c7331

24
docker-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
services:
openwebui:
image: "ghcr.io/open-webui/open-webui:main"
container_name: "OpenWebUI"
hostname: "openwebui"
restart: "unless-stopped"
environment:
WEBUI_AUTH: False
OLLAMA_BASE_URL: "http://10.0.0.2:11434"
ports:
- "8080:8080"
volumes:
- "./open-webui:/app/backend/data:rw"
labels:
- "traefik.enable=true"
- "traefik.http.routers.openwebui.entrypoints=websecure"
- "traefik.http.routers.openwebui.rule=Host(`ai.unixyourbrain.org`)"
- "traefik.http.routers.openwebui.tls=true"
- "traefik.http.services.openwebui.loadbalancer.server.port=3000"
- "traefik.http.services.openwebui.loadbalancer.server.scheme=http"
networks:
openwebui:
name: "openwebui"