49e9316685
* feat(jackett): change config to support local domain * feat(matrix-conduit): change config to support local domain * feat(mealie): change config to support local domain * feat(memos): change config to support local domain * feat(mind): change config to support local domain * feat(minecraft-server): change config to support local domain * feat(mixpost): change config to support local domain * feat(mixpost-pro): change config to support local domain * feat(moneroblock): change config to support local domain * feat(monerod): change config to support local domain * feat(monica): change config to support local domain * feat(movary): change config to support local domain * feat(mstream): change config to support local domain * feat(mylar3): change config to support local domain * feat(n8n): change config to support local domain * feat(navidrome): change config to support local domain * feat(nitter): change config to support local domain * feat(nocodb): change config to support local domain * feat(nodered): change config to support local domain * feat(onedev): change config to support local domain * feat(openbooks): change config to support local domain * feat(overseerr): change config to support local domain * feat(owncloud): change config to support local domain
41 lines
1.7 KiB
YAML
41 lines
1.7 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
openbooks:
|
|
container_name: openbooks
|
|
image: evanbuss/openbooks:4.5.0
|
|
command: "./openbooks server --dir /books --port 80 --persist --name ${OPENBOOKS_IRC_USERNAME}"
|
|
ports:
|
|
- ${APP_PORT}:80
|
|
volumes:
|
|
- ${ROOT_FOLDER_HOST}/media/data/books/:/books
|
|
environment:
|
|
- BASE_PATH=/openbooks/
|
|
networks:
|
|
- tipi_main_network
|
|
labels:
|
|
# Main
|
|
traefik.enable: true
|
|
traefik.http.middlewares.openbooks-web-redirect.redirectscheme.scheme: https
|
|
traefik.http.services.openbooks.loadbalancer.server.port: 80
|
|
# Web
|
|
traefik.http.routers.openbooks-insecure.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.openbooks-insecure.entrypoints: web
|
|
traefik.http.routers.openbooks-insecure.service: openbooks
|
|
traefik.http.routers.openbooks-insecure.middlewares: openbooks-web-redirect
|
|
# Websecure
|
|
traefik.http.routers.openbooks.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.openbooks.entrypoints: websecure
|
|
traefik.http.routers.openbooks.service: openbooks
|
|
traefik.http.routers.openbooks.tls.certresolver: myresolver
|
|
# Local domain
|
|
traefik.http.routers.openbooks-local-insecure.rule: Host(`openbooks.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.openbooks-local-insecure.entrypoints: web
|
|
traefik.http.routers.openbooks-local-insecure.service: openbooks
|
|
traefik.http.routers.openbooks-local-insecure.middlewares: openbooks-web-redirect
|
|
# Local domain secure
|
|
traefik.http.routers.openbooks-local.rule: Host(`openbooks.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.openbooks-local.entrypoints: websecure
|
|
traefik.http.routers.openbooks-local.service: openbooks
|
|
traefik.http.routers.openbooks-local.tls: true
|