Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3"
- services:
- mongo-docker:
- container_name: mongo-docker
- image: mongo
- command: bash -c "mongod --dbpath /var/lib/mongodb --replSet rs0 && mongo --eval 'rs.initialize()'"
- ports:
- - 27017:27017
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement