Skip to content

Commit

Permalink
update 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzaizai2k committed Sep 20, 2024
1 parent fe446ec commit e39acde
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ services:
networks:
- app-network
command: mongod --replSet test-change-streams --logpath /data/db/mongodb.log --dbpath /data/db --port 27017
healthcheck:
test: mongosh --eval "printjson(rs.status())" | grep -q '"ok" : 1'
interval: 10s
timeout: 5s
retries: 5


mongodb-setup:
image: mongo:latest
Expand Down

0 comments on commit e39acde

Please sign in to comment.