Merge pull request #35 from syawaralaycare/master

Add Docker Compose file
This commit is contained in:
Matej Kramny 2015-10-09 20:32:32 +01:00
commit 50151bc68d

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