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:
parent
d12a090952
commit
8133db24b0
1 changed files with 16 additions and 12 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue