Created
March 25, 2021 09:26
-
-
Save revant/e3aac5564bdd66efea929da56c18db3a to your computer and use it in GitHub Desktop.
Backing Services for development
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' | |
| services: | |
| db: | |
| image: bitnami/mongodb:latest | |
| restart: always | |
| environment: | |
| - MONGODB_USERNAME=app-data | |
| - MONGODB_PASSWORD=admin | |
| - MONGODB_DATABASE=app-data | |
| - MONGODB_ROOT_PASSWORD=admin | |
| - MONGODB_PRIMARY_ROOT_USER=root | |
| ports: | |
| - "27017:27017" | |
| volumes: | |
| - mongo-vol:/bitnami | |
| volumes: | |
| mongo-vol: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment