File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,18 @@ SAVED_USER_PASSWORD="${USER_PASSWORD:-}"
1414
1515source $ENVFILE
1616
17- # Restore passwords if they were set
17+ # Restore passwords if they were set (they take precedence over values from envfile)
1818if [[ -n " $SAVED_ADMIN_PASSWORD " ]]; then
1919 export ADMIN_PASSWORD=" $SAVED_ADMIN_PASSWORD "
2020fi
2121if [[ -n " $SAVED_USER_PASSWORD " ]]; then
2222 export USER_PASSWORD=" $SAVED_USER_PASSWORD "
2323fi
2424
25+ # Debug output to verify passwords are set
26+ echo " DEBUG: ADMIN_PASSWORD is $( if [[ -n " $ADMIN_PASSWORD " ]]; then echo ' set' ; else echo ' NOT set' ; fi) "
27+ echo " DEBUG: USER_PASSWORD is $( if [[ -n " $USER_PASSWORD " ]]; then echo ' set' ; else echo ' NOT set' ; fi) "
28+
2529# docker-compose does not pull those that have `build` section?!
2630echo " ====="
2731docker pull $DSPACE_UI_IMAGE
You can’t perform that action at this time.
0 commit comments