Added Docker Compose file to support latest compose instead of deprecated docker

This commit is contained in:
Saqib Yawar 2015-09-14 14:33:30 -04:00
parent 74ce261aac
commit 94a87575e6

30
docker-compose.yml Normal file
View File

@ -0,0 +1,30 @@
redis:
name: redis:latest
image: redis
expose:
- 6379
volumes:
- /tmp/redis:/data
mongodb:
image: mongo:latest
command: mongod --smallfiles --directoryperdb --noprealloc
hostname: mongodb
volumes:
- /tmp/mongodb:/data/db
expose:
- 27017
semaphore:
image: castawaylabs/semaphore:latest
environment:
MONGODB_URL: mongodb://mongodb/semaphore
REDIS_HOST: redis
expose:
- 80
ports:
- 8088:80
links:
- redis:redis
- mongodb:mongodb