01c6836796
* feat(halo): change config to support local domain * feat(hammond): change config to support local domain * feat(haven): change config to support local domain * feat(hedgedoc): change config to support local domain * feat(hello-world): change config to support local domain * feat(homarr): change config to support local domain * feat(homebox): change config to support local domain * feat(immich): change config to support local domain * feat(invidious): change config to support local domain * feat(it-tools): change config to support local domain * feat(jackett): change config to support local domain * feat(jellyseerr): change config to support local domain * feat(joplin): change config to support local domain * feat(kandboard): change config to support local domain * feat(kapowarr): change config to support local domain * feat(kavita): change config to support local domain * feat(libreddit): change config to support local domain * feat(librephotos): change config to support local domain * feat(libretranslate): change config to support local domain * feat(lidarr): change config to support local domain * feat(lidarr-deemix): change config to support local domain * feat(linkstack): change config to support local domain * feat(lodestone-core): change config to support local domain
44 lines
1.8 KiB
YAML
44 lines
1.8 KiB
YAML
version: "3.9"
|
|
|
|
services:
|
|
kavita:
|
|
container_name: kavita
|
|
image: kizaing/kavita:nightly-0.7.1.4
|
|
ports:
|
|
- ${APP_PORT}:5000
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/kavita-config:/kavita/config
|
|
- ${ROOT_FOLDER_HOST}/media/data/books:/books
|
|
- ${ROOT_FOLDER_HOST}/media/data/comics:/comics
|
|
- ${ROOT_FOLDER_HOST}/media/data/manga:/manga
|
|
environment:
|
|
- TZ=${TZ}
|
|
restart: unless-stopped
|
|
networks:
|
|
- tipi_main_network
|
|
labels:
|
|
# Main
|
|
traefik.enable: true
|
|
traefik.http.middlewares.kavita-web-redirect.redirectscheme.scheme: https
|
|
traefik.http.services.kavita.loadbalancer.server.port: 5000
|
|
# Web
|
|
traefik.http.routers.kavita-insecure.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.kavita-insecure.entrypoints: web
|
|
traefik.http.routers.kavita-insecure.service: kavita
|
|
traefik.http.routers.kavita-insecure.middlewares: kavita-web-redirect
|
|
# Websecure
|
|
traefik.http.routers.kavita.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.kavita.entrypoints: websecure
|
|
traefik.http.routers.kavita.service: kavita
|
|
traefik.http.routers.kavita.tls.certresolver: myresolver
|
|
# Local domain
|
|
traefik.http.routers.kavita-local-insecure.rule: Host(`kavita.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.kavita-local-insecure.entrypoints: web
|
|
traefik.http.routers.kavita-local-insecure.service: kavita
|
|
traefik.http.routers.kavita-local-insecure.middlewares: kavita-web-redirect
|
|
# Local domain secure
|
|
traefik.http.routers.kavita-local.rule: Host(`kavita.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.kavita-local.entrypoints: websecure
|
|
traefik.http.routers.kavita-local.service: kavita
|
|
traefik.http.routers.kavita-local.tls: true
|