Added ROOT_DOMAIN env var

This commit is contained in:
Lockszmith (@wolfpack) 2024-12-02 17:44:36 -05:00 committed by Lockszmith (@kateryna)
parent 3d497c3f66
commit eb523152a4
3 changed files with 19 additions and 3 deletions

View File

@ -3,3 +3,8 @@ CF_DNS_API_TOKEN=<Cloudflare DNS API Token>
SZ_USER_UID=<USER's UID>
SZ_USER_GID=<USER's GID>
ROOT_DOMAIN=<root.fqdn>
LEGACY_ROOT_DOMAIN=<legacy domain>
# vi: ft=sh

0
.gitignore vendored Normal file → Executable file
View File

View File

@ -1,17 +1,28 @@
services:
<service-name>:
hostname: <service-name>.docker
environment:
# RUNTIPI Environment
RUNTIPI_APP_PORT: "${APP_PORT}"
RUNTIPI_APP_ID: "${APP_ID}"
RUNTIPI_APP_DATA_DIR: "${APP_DATA_DIR}"
RUNTIPI_APP_EXPOSED: "${APP_EXPOSED}"
RUNTIPI_APP_EXPOSED: "${APP_EXPOSED:-}"
RUNTIPI_APP_DOMAIN: "${APP_DOMAIN}"
RUNTIPI_APP_HOST: "${APP_HOST}"
RUNTIPI_LOCAL_DOMAIN: "${LOCAL_DOMAIN}"
RUNTIPI_DOMAIN: "${DOMAIN}"
RUNTIPI_ROOT_DOMAIN: "${ROOT_DOMAIN}"
PUID: "${SZ_USER_UID}"
PGID: "${SZ_USER_GID}"
# volumes_from:
# - "container:arrvols"
# - "container:mediavols"
# - "container:personalmediavols"
# - "container:plexvols"
labels:
# Websecure
traefik.http.routers.<service-name>.middlewares: authentik_sysmgr@file
# traefik.http.routers.<service-name>-more.rule: Host(`<service-name>.lksz.me`)${APP_ROUTE_OPTIONAL:-}
# traefik.http.routers.<service-name>-more.rule: Host(`<service-name>.${ROOT_DOMAIN}`)${APP_ROUTE_OPTIONAL:-}
# traefik.http.routers.<service-name>-more.entrypoints: websecure
# traefik.http.routers.<service-name>-more.service: <service-name>
# traefik.http.routers.<service-name>-more.middlewares: authentik_sysmgr@file