File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 236236 # Check if variable exists in the file
237237 if grep -q " ^$var =" " $TARGET_ENV " ; then
238238 NEW_PASS=$( generate_password)
239- set_env_val " $var " " $NEW_PASS " " Auto-generated random password "
239+ set_env_val " $var " " $NEW_PASS " " Auto-generated. DO NOT CHANGE after startup or services will break. "
240240 echo " Updated $var with new random password."
241241 fi
242242 done
269269echo -e " ${GREEN} Deployment setup complete!${NC} "
270270echo -e " Configuration file: ${YELLOW} $TARGET_ENV ${NC} "
271271
272+ echo -e " \n${RED} !!! IMPORTANT CONFIGURATION WARNING !!!${NC} "
273+ echo -e " ${YELLOW} Passwords have been auto-generated and synchronized.${NC} "
274+ echo -e " ${YELLOW} DO NOT change them manually in the .env file after this point.${NC} "
275+ echo -e " ${YELLOW} Changing them will break connections between services and databases.${NC} "
276+ echo -e " ${RED} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!${NC} "
277+
272278# --- SSL Certificate Checklist ---
273279SSL_CERT_VAL=$( get_env_val " SSL_CERTIFICATE" )
274280# Only show checklist if SSL var is set AND the selected example implies HTTPS usage
You can’t perform that action at this time.
0 commit comments