Last active
January 16, 2021 12:50
-
-
Save alexandre-jacquot-ptl/bb08a4307bba2441fb678f1ac5aa7cb8 to your computer and use it in GitHub Desktop.
Setup a local instance of MongoDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.1" | |
services: | |
mongo: | |
image: mongo | |
restart: always | |
ports: | |
- "27017:27017" | |
volumes: | |
- mongo-volume:/data/db | |
mongo-express: | |
image: mongo-express | |
restart: always | |
ports: | |
- 8081:8081 | |
volumes: | |
mongo-volume: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment