-
-
Save chiarabeth/284019a7b5731252d473f4855fc70e28 to your computer and use it in GitHub Desktop.
Docker Mongo Step 2
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' | |
services: | |
my_mongo: | |
image: mongo | |
ports: | |
- 27019:27017 | |
environment: | |
MONGO_INITDB_ROOT_USERNAME: root | |
MONGO_INITDB_ROOT_PASSWORD: rootpassword |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment