From 86724535960603c33ecd4cf1a847d70a7dcc2a89 Mon Sep 17 00:00:00 2001 From: Christian Winther Date: Mon, 22 Jan 2024 13:48:01 +0000 Subject: [PATCH] fix configuration loading before referencing config --- docker/shared/root/docker/entrypoint.d/11-first-time-setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/shared/root/docker/entrypoint.d/11-first-time-setup.sh b/docker/shared/root/docker/entrypoint.d/11-first-time-setup.sh index d3d83c53..fb5c86a3 100755 --- a/docker/shared/root/docker/entrypoint.d/11-first-time-setup.sh +++ b/docker/shared/root/docker/entrypoint.d/11-first-time-setup.sh @@ -6,6 +6,8 @@ source "${ENTRYPOINT_ROOT}/helpers.sh" entrypoint-set-script-name "$0" +load-config-files + # Allow automatic applying of outstanding/new migrations on startup : "${DOCKER_APP_RUN_ONE_TIME_SETUP_TASKS:=1}" @@ -16,7 +18,6 @@ if is-false "${DOCKER_APP_RUN_ONE_TIME_SETUP_TASKS}"; then exit 0 fi -load-config-files await-database-ready # Following https://docs.pixelfed.org/running-pixelfed/installation/#one-time-setup-tasks