Skip to content

Commit

Permalink
fixed ci/cd mongo ports
Browse files Browse the repository at this point in the history
  • Loading branch information
Gal Ben David committed Dec 11, 2022
1 parent fe2e2e8 commit c729af1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c729af1

Please sign in to comment.