From c6fbcb785eebb7a34bb1505dbfd193e61435ec42 Mon Sep 17 00:00:00 2001 From: EZ-Homelab Assistant Date: Fri, 30 Jan 2026 19:12:49 -0500 Subject: [PATCH] fix: move Authelia config files to correct Docker mount location - Move configuration.yml and users_database.yml to authelia/config/ directory - Ensure files are in the correct location for Docker volume mount ./authelia/config:/config - Prevent Authelia from using default configuration instead of processed template --- scripts/ez-homelab.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/ez-homelab.sh b/scripts/ez-homelab.sh index 649b5ad..8ff06af 100755 --- a/scripts/ez-homelab.sh +++ b/scripts/ez-homelab.sh @@ -813,6 +813,13 @@ deploy_core() { replace_env_placeholders "$config_file" true done + # Move config files to the correct location for Docker mount + debug_log "Moving Authelia config files to config directory" + mkdir -p /opt/stacks/core/authelia/config + mv /opt/stacks/core/authelia/configuration.yml /opt/stacks/core/authelia/config/ + mv /opt/stacks/core/authelia/users_database.yml /opt/stacks/core/authelia/config/ + sudo chown -R "$ACTUAL_USER:$ACTUAL_USER" /opt/stacks/core/authelia + # Generate shared CA for multi-server TLS debug_log "Generating shared CA" log_info "Generating shared CA certificate for multi-server TLS..."