From c295fc7a0bcc290a63d211e36bf42fadcc12f268 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net>
Date: Sat, 14 Oct 2023 18:22:30 +0200
Subject: [PATCH] Really create the limesurvey security.php from ENV

---
 templates/limesurvey.env.j2 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/templates/limesurvey.env.j2 b/templates/limesurvey.env.j2
index 3432fa8..45f51a5 100644
--- a/templates/limesurvey.env.j2
+++ b/templates/limesurvey.env.j2
@@ -9,5 +9,7 @@ ADMIN_NAME={{ limesurvey_admin_name }}
 ADMIN_EMAIL={{ limesurvey_admin_email }}
 ADMIN_PASSWORD={{ limesurvey_admin_pass }}
 SHOW_SCRIPT_NAME=false
+# This needs to be set for the docker image to create the limesurvey security.php, it's of no other consequence
+ENCRYPT_KEYPAIR={{ limesurvey_encrypt_nonce }}
 ENCRYPT_NONCE={{ limesurvey_encrypt_nonce }}
 ENCRYPT_SECRET_BOX_KEY={{ limesurvey_encrypt_key }}
-- 
GitLab