Update docker-compose file to version 2

And snappass container will be built from Dockerfile since there is no official image (yet..)
This commit is contained in:
Thomas Decaux 2016-10-24 16:03:03 +02:00 committed by GitHub
parent d12a090952
commit 8133db24b0

View file

@ -1,13 +1,17 @@
--- version: '2'
snappass:
image: snappass
ports:
- "5000:5000"
links:
- "redis:redis"
environment:
- REDIS_HOST=redis
- NO_SSL=True
redis: services:
image: "redis:latest"
snappass:
build: .
image: pinterest/snappass
ports:
- "5000:5000"
environment:
- REDIS_HOST=redis
- NO_SSL=True
depends_on:
- redis
redis:
image: "redis:latest"