diff --git a/db/setup.sh b/db/setup.sh index d6bfb48..e70fd35 100755 --- a/db/setup.sh +++ b/db/setup.sh @@ -2,7 +2,7 @@ directory=$(dirname "$0") -while getopts u:p:h:P:a:r:d option +while getopts u:p:h:P:arb option do case "${option}" in @@ -12,7 +12,7 @@ do P)P=${OPTARG};; a)all="true";; r)root="false";; - d)debug="true";; + b)debug="true";; esac done diff --git a/docker-compose.yml b/docker-compose.yml index 0e80b10..edb887f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -173,9 +173,9 @@ services: command: - /bin/bash - "-c" - - "/sql/setup.sh -u lauth -p lauth -h db.lauth.local lauth_development && \ - /sql/setup.sh -u lauth -p lauth -h db.lauth.local lauth_test && \ - /sql/setup.sh -u lauth -p lauth -h db.lauth.local -a lauth_demo" + - "/sql/setup.sh -u lauth -p lauth -h db.lauth.local -b lauth_development && \ + /sql/setup.sh -u lauth -p lauth -h db.lauth.local -b lauth_test && \ + /sql/setup.sh -u lauth -p lauth -h db.lauth.local -a -b lauth_demo" volumes: mariadb_data: