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"