feat(installations): support secrets file for all environment variables (#5125)

Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
Borislaw SotnikowandMeier Lukas authored and GitHub committed 2026-05-08 17:11:08 +02:00
1 parent 2d15b3d407
commit 4d30a2e8c4
2 files changed
+13 -5

No files matched your search

-5
View File
@@ -19,11 +19,6 @@ export AUTH_SECRET=$(openssl rand -base64 32)
# Cron job API key is generated every time the container starts as it is required for communication between nextjs-api and tasks-api
export CRON_JOB_API_KEY=$(openssl rand -base64 32)
# Support secret file for encryption key (is not empty and file exists)
if [ -n "$SECRET_ENCRYPTION_KEY_FILE" ] && [ -f "$SECRET_ENCRYPTION_KEY_FILE" ]; then
export SECRET_ENCRYPTION_KEY=$(cat $SECRET_ENCRYPTION_KEY_FILE)
fi
# Start nginx proxy
# 1. Replace the HOSTNAME in the nginx template file
# 2. Create the nginx configuration file from the template