Created
October 22, 2015 09:07
-
-
Save JulienSansot/4411dcd4bcd8da176cbd to your computer and use it in GitHub Desktop.
docker_compose mongo/postgres/redis
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
| mongo: | |
| restart: always | |
| image: mongo:3.0.5 | |
| volumes: | |
| - ~/docker_mongodb_data:/data/db | |
| ports: | |
| - "27017:27017" | |
| postgres: | |
| restart: always | |
| image: postgres:9.4.4 | |
| volumes: | |
| - ~/docker_postgres_data:/var/lib/postgresql/data | |
| ports: | |
| - "5432:5432" | |
| redis: | |
| restart: always | |
| image: redis:3.0.3 | |
| ports: | |
| - "6379:6379" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment