From d80fe31b5d23a9202ca5d13ef81f39ee62f8aadf Mon Sep 17 00:00:00 2001
From: Johannes Zumthurm <nimro27@gmx.net>
Date: Sat, 16 Nov 2024 20:00:32 +0100
Subject: [PATCH] whyyyyyy?

---
 .gitlab-ci.yml      | 2 ++
 amivapi/settings.py | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8821f3ba..71d8266c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,8 @@ test:
   services:
     - name: mongo:5.0.14
       alias: mongodb
+  variables:
+      AMIVAPI_CONFIG: /api/amivapi/tests/config.py
   before_script:
     - pip install --upgrade pip
     - pip install tox
diff --git a/amivapi/settings.py b/amivapi/settings.py
index 7319e457..ea1501c5 100644
--- a/amivapi/settings.py
+++ b/amivapi/settings.py
@@ -44,7 +44,7 @@ MONGO_QUERY_BLACKLIST = ['$where']  # default blacklists where and regex queries
 CACHE_CONTROL = 'no-cache, must-revalidate'
 
 # MongoDB
-MONGO_HOST = 'mongodb'
+MONGO_HOST = 'localhost'
 MONGO_PORT = 27017
 MONGO_DBNAME = 'amivapi'
 MONGO_USERNAME = 'amivapi'
-- 
GitLab