Add docker-compose.yml
This commit is contained in:
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal 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"
|
||||||
Reference in New Issue
Block a user