Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions simplerisk/common/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down