From 82574fadabaeca5548f4f93b884d6bea831c2f48 Mon Sep 17 00:00:00 2001 From: Josh Sokol Date: Fri, 22 May 2026 09:42:49 -0500 Subject: [PATCH] simplerisk: set USE_DATABASE_FOR_SESSIONS to true in config.php The full-stack entrypoint was not substituting the __USE_DATABASE_FOR_SESSIONS__ placeholder shipped in config.sample.php, leaving an invalid value in config.php. Hardcode it to 'true' alongside the other DB substitutions. Co-Authored-By: Claude Opus 4.7 (1M context) --- simplerisk/common/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/simplerisk/common/entrypoint.sh b/simplerisk/common/entrypoint.sh index 9a502da..68aebea 100644 --- a/simplerisk/common/entrypoint.sh +++ b/simplerisk/common/entrypoint.sh @@ -53,6 +53,7 @@ set_config(){ SIMPLERISK_DB_USERNAME=simplerisk && sed -i "s/\('DB_USERNAME', '\).*\(');\)/\1$SIMPLERISK_DB_USERNAME\2/g" $CONFIG_PATH set_db_password SIMPLERISK_DB_DATABASE=simplerisk && sed -i "s/\('DB_DATABASE', '\).*\(');\)/\1$SIMPLERISK_DB_DATABASE\2/g" $CONFIG_PATH + sed -i "s/\('USE_DATABASE_FOR_SESSIONS', '\).*\(');\)/\1true\2/g" $CONFIG_PATH # Create a file so this doesn't run again touch /configurations/simplerisk-config-configured