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 services:
snappass:
build: .
image: pinterest/snappass
ports: ports:
- "5000:5000" - "5000:5000"
links:
- "redis:redis"
environment: environment:
- REDIS_HOST=redis - REDIS_HOST=redis
- NO_SSL=True - NO_SSL=True
depends_on:
- redis
redis: redis:
image: "redis:latest" image: "redis:latest"