Loading docker/initdb.sh +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ if [ -d "${SQL_DIR}/admin" ]; then -v "dbuser=${SYGAL_USER}" \ -v "dbpassword='${SYGAL_PASSWORD}'" \ -f $f [[ $? -ne 0 ]] && exit 1 done fi Loading @@ -47,6 +48,7 @@ for f in *.sql; do -v ON_ERROR_STOP=1 \ -v "dbuser=${SYGAL_USER}" \ -f $f [[ $? -ne 0 ]] && exit 1 done unset PGHOST PGPORT PGDATABASE PGUSER PGPASSWORD # précaution Loading
docker/initdb.sh +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ if [ -d "${SQL_DIR}/admin" ]; then -v "dbuser=${SYGAL_USER}" \ -v "dbpassword='${SYGAL_PASSWORD}'" \ -f $f [[ $? -ne 0 ]] && exit 1 done fi Loading @@ -47,6 +48,7 @@ for f in *.sql; do -v ON_ERROR_STOP=1 \ -v "dbuser=${SYGAL_USER}" \ -f $f [[ $? -ne 0 ]] && exit 1 done unset PGHOST PGPORT PGDATABASE PGUSER PGPASSWORD # précaution