Skip to content

Commit a7acf08

Browse files
committed
remove command, change port mapping
1 parent 3b9c773 commit a7acf08

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,14 @@ jobs:
2020
mongo:
2121
# Docker Hub image
2222
image: mongo:${{ matrix.mongodb-version }}
23-
command: mongod --port 27027
2423
# Set health checks to wait until redis has started
2524
options: >-
2625
--health-cmd "mongo --eval 'db.runCommand({ ping: 1 })'"
2726
--health-interval 10s
2827
--health-timeout 5s
2928
--health-retries 5
3029
ports:
31-
- 27027:27027
30+
- 27027:27017
3231

3332
strategy:
3433
matrix:

0 commit comments

Comments
 (0)