From d21a7616890d33058c35de52d39f8f049b4a4adb Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 7 Nov 2023 11:29:35 -0300 Subject: [PATCH] Fix run.sh bugs --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index 4bd773c..4ee77c0 100755 --- a/run.sh +++ b/run.sh @@ -66,8 +66,8 @@ elif [ -n "$domain" ] && [ -z "$down" ]; then export API_IMAGE=$USER/user-manager:test docker compose -f auth-domain/docker-compose.dev.yml --env-file auth-domain/.env.prod down docker compose -f auth-domain/docker-compose.dev.yml --env-file auth-domain/.env.dev up --abort-on-container-exit - docker compose -f auth-domain/docker-compose.dev.yml --env-file auth-domain/.env.prod exec usermanager-api python manage.py recreate_db - docker compose -f auth-domain/docker-compose.dev.yml --env-file auth-domain/.env.prod exec usermanager-api python manage.py seed_db + docker compose -f auth-domain/docker-compose.dev.yml --env-file auth-domain/.env.prod exec usermanager-api-dev python manage.py recreate_db + docker compose -f auth-domain/docker-compose.dev.yml --env-file auth-domain/.env.prod exec usermanager-api-dev python manage.py seed_db else export API_IMAGE=$USER/user-manager:prod docker compose -f auth-domain/docker-compose.yml --env-file auth-domain/.env.prod down