Skip to content

Commit

Permalink
Added support for env variable for $DB_PASS
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
  • Loading branch information
Daviey committed Aug 9, 2019
1 parent b610ffe commit f6097df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

./cloud_sql_proxy -instances="$@"=tcp:3306 &
dev_appserver.py --php_executable_path=/usr/local/bin/php-cgi --host 0.0.0.0 /opt/site/
dev_appserver.py --php_executable_path=/usr/local/bin/php-cgi --host 0.0.0.0 --env_var DB_PASS="${DB_PASS}" /opt/site/app.yaml

0 comments on commit f6097df

Please sign in to comment.