-
-
Save chiarabeth/f734f95a85b911a42dc26ce38a77aff2 to your computer and use it in GitHub Desktop.
Docker Mongo Step 5
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 | |
mongo_seeder: | |
image: mongo_seeder | |
depends_on: | |
- my_mongo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment