1
0
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:
Steven Tang 2022-12-27 20:58:17 +11:00
parent 9cce0ac2e1
commit f46f24f0be
No known key found for this signature in database
GPG Key ID: 1597520C734BAE66

View File

@ -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