From c729af127d3257435c6dd32ead3f7b412cef7ca6 Mon Sep 17 00:00:00 2001 From: Gal Ben David Date: Sun, 11 Dec 2022 17:54:41 +0200 Subject: [PATCH] fixed ci/cd mongo ports --- .github/workflows/build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3eadcf0..87bcd10 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,17 +60,19 @@ jobs: env: MONGODB_REPLICA_SET_MODE: primary MONGODB_REPLICA_SET_NAME: test_replica_set_one - ALLOW_EMPTY_PASSWORD: 'yes' - MONGODB_ADVERTISED_HOSTNAME: 'localhost' + MONGODB_PORT_NUMBER: 27017 + ALLOW_EMPTY_PASSWORD: yes + MONGODB_ADVERTISED_HOSTNAME: localhost mongo-node-two: image: 'bitnami/mongodb:latest' ports: - - '27018:27017' + - '27018:27018' env: MONGODB_REPLICA_SET_MODE: primary MONGODB_REPLICA_SET_NAME: test_replica_set_two - ALLOW_EMPTY_PASSWORD: 'yes' - MONGODB_ADVERTISED_HOSTNAME: 'localhost' + MONGODB_PORT_NUMBER: 27018 + ALLOW_EMPTY_PASSWORD: yes + MONGODB_ADVERTISED_HOSTNAME: localhost steps: - name: Checkout uses: actions/checkout@v3