app-store/apps/lobe-chat/docker-compose.yml
renovate[bot] 888a84ce63
chore(deps): update lobehub/lobe-chat docker tag to v1 (#3809)
* chore(deps): update lobehub/lobe-chat docker tag to v1

* Update app version [ready]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tipi CI <ci@runtipi.io>
2024-06-23 01:52:52 +02:00

41 lines
1.7 KiB
YAML

version: '3.9'
services:
lobe-chat:
container_name: lobe-chat
image: lobehub/lobe-chat:v1.0.0
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- OPENAI_PROXY_URL=${OPEANAI_PROXY_URL}
- CUSTOM_MODELS=${CUSTOM_MODELS}
- ACCESS_CODE=${ACCESS_CODE}
ports:
- ${APP_PORT}:3210
restart: unless-stopped
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.lobe-chat-web-redirect.redirectscheme.scheme: https
traefik.http.services.lobe-chat.loadbalancer.server.port: 3210
# Web
traefik.http.routers.lobe-chat-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.lobe-chat-insecure.entrypoints: web
traefik.http.routers.lobe-chat-insecure.service: lobe-chat
traefik.http.routers.lobe-chat-insecure.middlewares: lobe-chat-web-redirect
# Websecure
traefik.http.routers.lobe-chat.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.lobe-chat.entrypoints: websecure
traefik.http.routers.lobe-chat.service: lobe-chat
traefik.http.routers.lobe-chat.tls.certresolver: myresolver
# Local domain
traefik.http.routers.lobe-chat-local-insecure.rule: Host(`lobe-chat.${LOCAL_DOMAIN}`)
traefik.http.routers.lobe-chat-local-insecure.entrypoints: web
traefik.http.routers.lobe-chat-local-insecure.service: lobe-chat
traefik.http.routers.lobe-chat-local-insecure.middlewares: lobe-chat-web-redirect
# Local domain secure
traefik.http.routers.lobe-chat-local.rule: Host(`lobe-chat.${LOCAL_DOMAIN}`)
traefik.http.routers.lobe-chat-local.entrypoints: websecure
traefik.http.routers.lobe-chat-local.service: lobe-chat
traefik.http.routers.lobe-chat-local.tls: true