Sync the auth stack's appdata to the mirror before the containers that read it are created

Deploying first meant Authelia, Lldap, NPM and both databases initialised themselves against empty directories. The gate arming moves to Step 1d for the same reason: the provisioning sync is an rsync, and Tier 1 stops every rsync. Tier 2 now ends the onboard off rather than as-found.
This commit is contained in:
Gmer4Lfe
2026-08-17 10:12:10 -04:00
parent 51125fa05a
commit 427a31cdff
3 changed files with 124 additions and 58 deletions
+10
View File
@@ -155,6 +155,16 @@
# "Authelia|9091"
)
# Shares rsynced to the mirror during onboard Step 1e, BEFORE the auth containers are created.
# This is the only rsync an onboard performs — media is never seeded here.
# Profile is inferred from the directory basename, so Critical-Data resolves to critical-data:
# a clean copy with the auth containers stopped on both sides. Do not point this at a share
# whose profile keeps databases running; a dirty copy of MariaDB or Redis is worse than none,
# because the container starts, reads Up, and restarts a dead database behind it.
HOSTN_PARTNERSHIP_PROVISION_SHARES=(
"/mnt/user/appdata-Fallback/Critical-Data" # critical-data profile — the auth stack
)
# XML templates pushed to mirror during onboard — auth stack.
# Dependencies (databases) must come before apps that depend on them.
HOSTN_PARTNERSHIP_AUTH_STACK=(