Last active
October 9, 2017 23:30
-
-
Save RoverWire/5186eb77c5f1fb40cdb0e0906c8865d0 to your computer and use it in GitHub Desktop.
Superpedestrian Docker
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: '2' | |
services: | |
postgres: | |
image: postgres:latest | |
container_name: sp_postgres | |
volumes: | |
- ~/.docker-engine/postgresql:/var/lib/postgresql/data | |
ports: | |
- "5432:5432" | |
environment: | |
- POSTGRES_DB=spp_develop | |
- POSTGRES_USER=default | |
- POSTGRES_PASSWORD=secret | |
redis: | |
image: redis:latest | |
container_name: sp_redis | |
volumes: | |
- ~/.docker-engine/redis:/data | |
ports: | |
- "6379:6379" | |
mongo: | |
image: mongo:latest | |
container_name: sp_mongo | |
volumes: | |
- ~/.docker-engine/mongo:/data/db | |
ports: | |
- "27017:27017" | |
volumes: | |
postgres: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment