Created
June 18, 2019 18:23
-
-
Save guitimoteo/79ebcd37023710ad2675b6b36b7c5afa to your computer and use it in GitHub Desktop.
Multitenancy mongodb
This file contains hidden or 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 | |
environment: | |
MONGO_INITDB_ROOT_USERNAME: root | |
MONGO_INITDB_ROOT_PASSWORD: password | |
volumes: | |
- ./:/data/ | |
ports: | |
- "27017:27017" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment