Created
March 28, 2020 22:54
-
-
Save neo0910/ef95daa3bc47e57b891e4c7389ca1f5a to your computer and use it in GitHub Desktop.
Docker compose file for the mongo container
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.7' | |
services: | |
database: | |
container_name: [name] | |
image: mongo | |
restart: unless-stopped | |
ports: | |
- 27017:27017 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment