diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..79fa4736 --- /dev/null +++ b/docker-compose.yml @@ -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 \ No newline at end of file