Created
May 18, 2016 19:38
-
-
Save riston/f99653417c1975177879942d65f2ddd8 to your computer and use it in GitHub Desktop.
Docker compose example current dev env.
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
mongodata: | |
image: mongo:3.2.6 | |
volumes: | |
- /data/mongodb | |
command: --break-mongo | |
mongo: | |
image: mongo:3.2.6 | |
volumes_from: | |
- mongodata | |
ports: | |
- "27017:27017" | |
command: --smallfiles --rest --auth | |
postgres: | |
restart: always | |
image: postgres:latest | |
volumes_from: | |
- postgredata | |
ports: | |
- "5432:5432" | |
postgredata: | |
restart: always | |
image: postgres:latest | |
volumes: | |
- /data/postgre | |
command: "true" | |
redis: | |
restart: always | |
image: redis:latest | |
ports: | |
- "6379:6379" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment