diff --git a/docker-compose.yml b/docker-compose.yml index 3007635..b0d1a41 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,17 @@ ---- -snappass: - image: snappass - ports: - - "5000:5000" - links: - - "redis:redis" - environment: - - REDIS_HOST=redis - - NO_SSL=True +version: '2' -redis: - image: "redis:latest" +services: + + snappass: + build: . + image: pinterest/snappass + ports: + - "5000:5000" + environment: + - REDIS_HOST=redis + - NO_SSL=True + depends_on: + - redis + + redis: + image: "redis:latest"