apps/open-webui/docker-compose.yml hinzugefügt
This commit is contained in:
parent
fbeffbd272
commit
d61df14955
36
apps/open-webui/docker-compose.yml
Normal file
36
apps/open-webui/docker-compose.yml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
version: '3.8'
|
||||
services:
|
||||
open-webui:
|
||||
image: ghcr.io/open-webui/open-webui:v0.11.4
|
||||
container_name: open-webui
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data:/app/backend/data
|
||||
ports:
|
||||
- ${APP_PORT}:8080
|
||||
environment:
|
||||
- OLLAMA_BASE_URL=${OPENWEBUI_OLLAMA_URL}
|
||||
- OPENAI_API_KEY=${OPENWEBUI_OPENAI_KEY}
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- tipi_main_network
|
||||
labels:
|
||||
traefik.enable: true
|
||||
traefik.http.middlewares.open-webui-web-redirect.redirectscheme.scheme: https
|
||||
traefik.http.services.open-webui.loadbalancer.server.port: 8080
|
||||
traefik.http.routers.open-webui-insecure.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.open-webui-insecure.entrypoints: web
|
||||
traefik.http.routers.open-webui-insecure.service: open-webui
|
||||
traefik.http.routers.open-webui-insecure.middlewares: open-webui-web-redirect
|
||||
traefik.http.routers.open-webui.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.open-webui.entrypoints: websecure
|
||||
traefik.http.routers.open-webui.service: open-webui
|
||||
traefik.http.routers.open-webui.tls.certresolver: myresolver
|
||||
traefik.http.routers.open-webui-local-insecure.rule: Host(`open-webui.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.open-webui-local-insecure.entrypoints: web
|
||||
traefik.http.routers.open-webui-local-insecure.service: open-webui
|
||||
traefik.http.routers.open-webui-local-insecure.middlewares: open-webui-web-redirect
|
||||
traefik.http.routers.open-webui-local.rule: Host(`open-webui.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.open-webui-local.entrypoints: websecure
|
||||
traefik.http.routers.open-webui-local.service: open-webui
|
||||
traefik.http.routers.open-webui-local.tls: true
|
||||
runtipi.managed: true
|
||||
Loading…
Reference in New Issue
Block a user