Created
May 14, 2021 13:08
-
-
Save ggnam/795c8f3247b5ed1103235197549acedc to your computer and use it in GitHub Desktop.
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.8" | |
services: | |
mongodb: | |
image : mongo | |
container_name: mongodb | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
volumes: | |
- /home/barry/mongodb/database:/data/db | |
ports: | |
- 27017:27017 | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment