From 65f3503fe83ccf8e73ac91aec2bd77e11b605275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Tue, 15 Aug 2023 13:11:14 +0200 Subject: [PATCH] fix: docker compose ci setup --- .github/ci.env | 2 +- docker-compose.ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ci.env b/.github/ci.env index 58816a252..81e2e213d 100644 --- a/.github/ci.env +++ b/.github/ci.env @@ -22,7 +22,7 @@ MYSQL_USER=std_notes_user MYSQL_PASSWORD=changeme123 MYSQL_ROOT_PASSWORD=changeme123 -MONGO_HOST=localhost +MONGO_HOST=secondary_db MONGO_PORT=27017 MONGO_USERNAME=standardnotes MONGO_PASSWORD=standardnotes diff --git a/docker-compose.ci.yml b/docker-compose.ci.yml index 08161d969..cb9e22e54 100644 --- a/docker-compose.ci.yml +++ b/docker-compose.ci.yml @@ -70,7 +70,7 @@ services: restart: unless-stopped volumes: - ./data/mongo:/data/db - env: + environment: MONGO_INITDB_ROOT_USERNAME: standardnotes MONGO_INITDB_ROOT_PASSWORD: standardnotes MONGO_INITDB_DATABASE: standardnotes