From a32ebffff9ed68e53b63cee1a2ce9e141097912a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20T=E1=BA=A5n=20Huy?= <82441277+nemouet@users.noreply.github.com> Date: Fri, 24 May 2024 11:02:48 +0700 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 73915ab..fd6428e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,7 +42,7 @@ jobs: - name: Run container run: | sudo docker network create mongodb_network - sudo docker run -p 27017:27017 -d --name mongodb --network mongodb_network -v mongodb:/docker-entrypoint-initdb.d --restart unless-stopped huyuet/mongo:5.0 + sudo docker run -p 27017:27017 -d --name mongo_db --network mongodb_network -v mongodb:/docker-entrypoint-initdb.d --restart unless-stopped huyuet/mongo:5.0 sudo docker run -p 5000:5000 -d --name backend --network mongodb_network huyuet/backend-image - name: Run unittest run: python API/unit_test/test_api.py