-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
30 lines (28 loc) · 872 Bytes
/
Copy pathcompose.yaml
File metadata and controls
30 lines (28 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
services:
open-webui:
image: ghcr.io/open-webui/open-webui:main
restart: always
networks:
- traefik
environment:
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL}
volumes:
- open-webui:/app/backend/data
labels:
- "traefik.enable=true"
- "traefik.http.routers.open-webui.rule=Host(`${OPENWEBUI_DOMAIN}`)"
- "traefik.http.routers.open-webui.entrypoints=websecure"
- "traefik.http.routers.open-webui.tls.certresolver=letsencrypt"
- "traefik.http.routers.open-webui.middlewares=secure-headers@file"
- "traefik.http.routers.open-webui.service=open-webui@docker"
- "traefik.http.services.open-webui.loadbalancer.server.port=8080"
volumes:
open-webui:
driver: local
driver_opts:
type: none
device: /mnt/SSD/Containers/openwebui
o: bind
networks:
traefik:
external: true