Created
December 20, 2020 04:55
-
-
Save kuc-arc-f/1e50cb39cf85a0456538d399cd829300 to your computer and use it in GitHub Desktop.
mongoDB の、docker-compose.yml
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: | |
image: mongo | |
command: | |
- mongod | |
ports: | |
- 27017:27017 | |
volumes: | |
- mongo-data:/data/db | |
mongo-data: | |
image: busybox | |
volumes: | |
mongo-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment