We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04660f2 commit 7579a52Copy full SHA for 7579a52
cli/template/extras/start-database/mysql.sh
@@ -35,7 +35,8 @@ if [ "$DB_PASSWORD" == "password" ]; then
35
echo "Please set a password in the .env file and try again"
36
exit 1
37
fi
38
- DB_PASSWORD=$(openssl rand -base64 12)
+ # Generate a random URL-safe password
39
+ DB_PASSWORD=$(openssl rand -base64 12 | tr '+/' '-_')
40
sed -i -e "s#:password@#:$DB_PASSWORD@#" .env
41
42
cli/template/extras/start-database/postgres.sh
@@ -35,7 +35,8 @@ if [ "$DB_PASSWORD" = "password" ]; then
0 commit comments