Skip to content

Commit

Permalink
feat: fix mongo environment for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolg committed Oct 28, 2023
1 parent 54c80db commit dee1c8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ jobs:

services:
mongo:
image: mongo
image: mongo:4.4.4
env:
MONGO_INITDB_ROOT_USERNAME: mongoadmin
MONGO_INITDB_ROOT_PASSWORD: mongoadmin
options: >-
--health-cmd "echo 'db.stats().ok' | mongo localhost:27017/mongoadmin --quiet"
--health-interval 10s
Expand Down

0 comments on commit dee1c8f

Please sign in to comment.