File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /usr/bin/env bash
2+
3+ set -e
24
35echo " -> checking environment variables"
46test ${GD_DB_HOSTNAME}
57test ${GD_DB_NAME}
68test ${GD_DB_USERNAME}
7- test ${GD_DB_PASSWORD}
89export GD_DB_TABLE_PREFIX=${GD_DB_TABLE_PREFIX:- " gd_" }
910export GD_ENCRYPTION_SALT=${GD_ENCRYPTION_SALT:- " changeme" }
1011export GD_API_ENABLED=${GD_API_ENABLED:- " true" }
Original file line number Diff line number Diff line change @@ -6,13 +6,12 @@ services:
66 GD_DB_HOSTNAME : mysql
77 GD_DB_NAME : generatedata
88 GD_DB_USERNAME : root
9- GD_DB_PASSWORD : UnSecUr3dPassW0rd
109 ports :
1110 - 8000:80
1211 links :
1312 - mysql
1413 mysql :
1514 image : mysql:5.7
1615 environment :
17- MYSQL_ROOT_PASSWORD : UnSecUr3dPassW0rd
16+ MYSQL_ALLOW_EMPTY_PASSWORD : ' true '
1817 MYSQL_DATABASE : generatedata
You can’t perform that action at this time.
0 commit comments