1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
mxpv-podsync/src/Podsync/docker-compose.yml

30 lines
534 B
YAML
Raw Normal View History

version: '2'
services:
app:
image: podsync
build:
context: .
dockerfile: Dockerfile
2017-01-04 17:57:05 -08:00
restart: always
2017-01-04 11:32:04 -08:00
ports:
2017-01-20 19:22:02 -08:00
- 5001
environment:
2017-01-20 19:22:02 -08:00
- ASPNETCORE_URLS=http://*:5001
- Podsync:RedisConnectionString=redis
env_file:
- ~/podsync.env
redis:
image: redis
command: redis-server --appendonly yes
2017-01-04 17:57:05 -08:00
restart: always
volumes:
2017-01-20 19:22:02 -08:00
- /data/redis:/data
nginx:
2017-01-21 11:20:22 -08:00
build:
context: ./nginx
dockerfile: Dockerfile
2017-01-20 19:22:02 -08:00
restart: always
ports:
- 80:80