From 954a6935ac0f688b592d22885882afda6c3cba8f Mon Sep 17 00:00:00 2001 From: "Lockszmith (@kateryna)" Date: Sun, 8 Dec 2024 16:53:10 -0500 Subject: [PATCH] Updated user-config template --- _template/app.env | 4 ++-- _template/docker-compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_template/app.env b/_template/app.env index 8d5f0e6..aa39a60 100644 --- a/_template/app.env +++ b/_template/app.env @@ -1,2 +1,2 @@ -# VARIABLE=value #comment# VARIABLE=value #comment -# APP_ROUTE_OPTIONAL=" || Host(`www.example.com`)" \ No newline at end of file +# VARIABLE=value #comment +APP_ROUTE_OPTIONAL=${LEGACY_ROOT_DOMAIN:+ || Host(`example.${LEGACY_ROOT_DOMAIN}`)} \ No newline at end of file diff --git a/_template/docker-compose.yml b/_template/docker-compose.yml index f9f6c6a..f23c037 100644 --- a/_template/docker-compose.yml +++ b/_template/docker-compose.yml @@ -2,6 +2,8 @@ services: : hostname: .docker environment: + PUID: "${SZ_USER_UID}" + PGID: "${SZ_USER_GID}" # RUNTIPI Environment RUNTIPI_APP_PORT: "${APP_PORT}" RUNTIPI_APP_ID: "${APP_ID}" @@ -12,8 +14,6 @@ services: RUNTIPI_LOCAL_DOMAIN: "${LOCAL_DOMAIN}" RUNTIPI_DOMAIN: "${DOMAIN}" RUNTIPI_ROOT_DOMAIN: "${ROOT_DOMAIN}" - PUID: "${SZ_USER_UID}" - PGID: "${SZ_USER_GID}" # volumes_from: # - "container:vols-dl" # - "container:vols-personal-media"