Initial commit: docker compose config
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
# Secrets
|
||||
.env
|
||||
*.pem
|
||||
*.key
|
||||
|
||||
# Docker volumes / data
|
||||
data/
|
||||
*-data/
|
||||
vw-data/
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Backups
|
||||
*.tar.gz
|
||||
*.bak
|
||||
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
open-webui:
|
||||
image: ghcr.io/open-webui/open-webui:main
|
||||
restart: always
|
||||
ports:
|
||||
- "127.0.0.1:8091:8080"
|
||||
volumes:
|
||||
- openwebui_data:/app/backend/data
|
||||
environment:
|
||||
- OLLAMA_BASE_URL=http://host.docker.internal:11434
|
||||
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.openwebui.rule=Host(`ai.kzbrd.ru`)"
|
||||
- "traefik.http.routers.openwebui.entrypoints=websecure"
|
||||
- "traefik.http.routers.openwebui.tls=true"
|
||||
- "traefik.http.routers.openwebui.tls.certresolver=myresolver"
|
||||
|
||||
volumes:
|
||||
openwebui_data:
|
||||
Reference in New Issue
Block a user