mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
test: ref the config conditional
This commit is contained in:
parent
9cce0ac2e1
commit
f46f24f0be
@ -52,10 +52,10 @@ case $1 in
|
|||||||
|
|
||||||
docker_down=1
|
docker_down=1
|
||||||
docker compose -f "$script_dir/docker-compose.yml" up --wait -d "$1"
|
docker compose -f "$script_dir/docker-compose.yml" up --wait -d "$1"
|
||||||
|
|
||||||
|
config="config.$1.yml"
|
||||||
if [ "$1" == "mariadb" ]; then
|
if [ "$1" == "mariadb" ]; then
|
||||||
config="config.mysql.yml"
|
config="config.mysql.yml"
|
||||||
else
|
|
||||||
config="config.$1.yml"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
db_port=0
|
db_port=0
|
||||||
|
Loading…
Reference in New Issue
Block a user