diff --git a/.env.local.tmpl b/.env.local.tmpl index 3f7e9f7..595b5b5 100755 --- a/.env.local.tmpl +++ b/.env.local.tmpl @@ -3,3 +3,8 @@ CF_DNS_API_TOKEN= SZ_USER_UID= SZ_USER_GID= + +ROOT_DOMAIN= +LEGACY_ROOT_DOMAIN= + +# vi: ft=sh diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/_template/docker-compose.yml b/_template/docker-compose.yml index b6eb722..2afd4e0 100644 --- a/_template/docker-compose.yml +++ b/_template/docker-compose.yml @@ -1,17 +1,28 @@ services: : + hostname: .docker environment: - # RUNTIPI 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..middlewares: authentik_sysmgr@file - # traefik.http.routers.-more.rule: Host(`.lksz.me`)${APP_ROUTE_OPTIONAL:-} + # traefik.http.routers.-more.rule: Host(`.${ROOT_DOMAIN}`)${APP_ROUTE_OPTIONAL:-} # traefik.http.routers.-more.entrypoints: websecure # traefik.http.routers.-more.service: # traefik.http.routers.-more.middlewares: authentik_sysmgr@file