summaryrefslogtreecommitdiff
path: root/.docker/app/startup.sh
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-04-08 14:09:15 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-04-08 14:09:15 +0300
commite4f1480453a86401f93ed97878c270628fe4d2b7 (patch)
tree7ab10979e9b6b0952285e5600b71a2f7ac579485 /.docker/app/startup.sh
parent008c518d5d8e60c0168cd107dbfd1f23f9c4a701 (diff)
cleanup environment variables related to global configuration after instantiating config object
Diffstat (limited to '.docker/app/startup.sh')
-rw-r--r--.docker/app/startup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.docker/app/startup.sh b/.docker/app/startup.sh
index cf93b7413..6113cf424 100644
--- a/.docker/app/startup.sh
+++ b/.docker/app/startup.sh
@@ -156,6 +156,8 @@ find ${SCRIPT_ROOT}/sql/post-init.d/ -type f -name '*.sql' | while read F; do
$PSQL -f $F
done
+unset PGPASSWORD
+
touch $DST_DIR/.app_is_ready
exec /usr/sbin/php-fpm${PHP_SUFFIX} --nodaemonize --force-stderr