From d85a86f0b5d250e8b408482bb14d64557f9772d7 Mon Sep 17 00:00:00 2001
From: Falk <s80983@beuth-hochschule.de>
Date: Fri, 12 Mar 2021 15:05:17 +0000
Subject: [PATCH] Change mongodb URL to make use of service name

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 28d17d3..c5d0b6b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,7 +26,7 @@ test_server:
     - cd app/server
     - npm install
     - PORT=3002 \
-      MONGODB_URL=mongodb://localhost:27017/test \
+      MONGODB_URL=mongodb://mongodb:27017/test \
       JWT_SECRET=$JWT_SECRET \
       npm run test
 
-- 
GitLab