Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
MattGrundy committed Sep 20, 2024
1 parent 5b6ff1e commit 828cbe7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usr/local/sbin/container-ready.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,12 @@ auto_run_tools() {

run_installer() {
save_sentinel_runfile installer

log_message TRACE "Running installer"
INSTALL_ADMIN_EMAIL=$(container-var INSTALL_ADMIN_EMAIL --default "[email protected]")
rand_pass=$(openssl rand -hex 64)
INSTALL_ADMIN_PASSWORD=$(container-var INSTALL_ADMIN_PASSWORD --default "$rand_pass")
INSTALL_URL=$(container-var INSTALL_URL --default "http://127.0.0.1")
log_message TRACE "Container-var checks complete"

log_message WARNING "Running: bin/install --url $INSTALL_URL --adminEmail $INSTALL_ADMIN_EMAIL --adminPassword XXXXXXXX"
run_app_cmd bin/install --url "$INSTALL_URL" --adminEmail "$INSTALL_ADMIN_EMAIL" --adminPassword "$INSTALL_ADMIN_PASSWORD"
Expand Down

0 comments on commit 828cbe7

Please sign in to comment.