Merge pull request #35 from ebuildy/patch-1
Update docker-compose file to version 2
This commit is contained in:
commit
2c84ff151b
1 changed files with 16 additions and 12 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue