Created
June 9, 2019 19:56
-
-
Save renatogroffe/1939bfbb6c7805a94a70dd9524e347b8 to your computer and use it in GitHub Desktop.
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: | |
mongo-express: | |
image: mongo-express | |
ports: | |
- 8081:8081 | |
environment: | |
ME_CONFIG_BASICAUTH_USERNAME: renatogroffe | |
ME_CONFIG_BASICAUTH_PASSWORD: MongoExpress2019! | |
ME_CONFIG_MONGODB_PORT: 27017 | |
ME_CONFIG_MONGODB_ADMINUSERNAME: root | |
ME_CONFIG_MONGODB_ADMINPASSWORD: MongoDB2019! | |
links: | |
- mongo | |
networks: | |
- mongo-compose-network | |
mongo: | |
image: mongo | |
environment: | |
MONGO_INITDB_ROOT_USERNAME: root | |
MONGO_INITDB_ROOT_PASSWORD: MongoDB2019! | |
ports: | |
- "27017:27017" | |
volumes: | |
- /home/renatogroffe/Desenvolvimento/Docker/Volumes/MongoDB:/data/db | |
networks: | |
- mongo-compose-network | |
networks: | |
mongo-compose-network: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment