2016-12-23 21:31:44 -08:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
app:
|
|
|
|
image: podsync
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
args:
|
2017-01-04 11:32:04 -08:00
|
|
|
- PORT=80
|
2017-01-04 17:57:05 -08:00
|
|
|
restart: always
|
2017-01-04 11:32:04 -08:00
|
|
|
ports:
|
|
|
|
- 80:80
|
2016-12-23 21:31:44 -08:00
|
|
|
environment:
|
|
|
|
- Podsync:RedisConnectionString=redis
|
2016-12-24 14:40:32 -08:00
|
|
|
env_file:
|
|
|
|
- ~/podsync.env
|
2017-01-09 13:27:56 -08:00
|
|
|
logging:
|
|
|
|
driver: syslog
|
2016-12-23 21:31:44 -08:00
|
|
|
redis:
|
|
|
|
image: redis
|
|
|
|
command: redis-server --appendonly yes
|
2017-01-04 17:57:05 -08:00
|
|
|
restart: always
|
2016-12-23 21:31:44 -08:00
|
|
|
volumes:
|
2017-01-04 11:32:04 -08:00
|
|
|
- /data/redis:/data
|
2017-01-09 13:27:56 -08:00
|
|
|
logging:
|
|
|
|
driver: syslog
|