2016-12-23 21:31:44 -08:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
app:
|
2017-02-11 00:30:16 -08:00
|
|
|
image: podsync/app
|
2017-02-11 00:40:50 -08:00
|
|
|
container_name: app
|
2016-12-23 21:31:44 -08:00
|
|
|
build:
|
2017-03-06 14:56:59 -08:00
|
|
|
context: ./src/Podsync
|
2016-12-23 21:31:44 -08:00
|
|
|
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
|
2016-12-23 21:31:44 -08:00
|
|
|
environment:
|
2017-01-20 19:22:02 -08:00
|
|
|
- ASPNETCORE_URLS=http://*:5001
|
2017-03-06 14:56:59 -08:00
|
|
|
- ASPNETCORE_ENVIRONMENT=Production
|
2016-12-23 21:31:44 -08:00
|
|
|
- Podsync:RedisConnectionString=redis
|
2017-02-11 00:30:16 -08:00
|
|
|
- Podsync:RemoteResolverUrl=http://ytdl:8080
|
2016-12-24 14:40:32 -08:00
|
|
|
env_file:
|
|
|
|
- ~/podsync.env
|
2017-02-11 00:30:16 -08:00
|
|
|
ytdl:
|
|
|
|
image: podsync/ytdl
|
2017-02-11 00:40:50 -08:00
|
|
|
container_name: ytdl
|
2017-02-11 00:30:16 -08:00
|
|
|
build:
|
2017-03-06 14:56:59 -08:00
|
|
|
context: ./src/ytdl
|
2017-02-11 00:30:16 -08:00
|
|
|
dockerfile: Dockerfile
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8080
|
2016-12-23 21:31:44 -08:00
|
|
|
redis:
|
|
|
|
image: redis
|
2017-02-11 00:40:50 -08:00
|
|
|
container_name: redis
|
2016-12-23 21:31:44 -08:00
|
|
|
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-20 19:22:02 -08:00
|
|
|
- /data/redis:/data
|
|
|
|
nginx:
|
2017-02-11 00:40:50 -08:00
|
|
|
container_name: nginx
|
2017-01-21 11:20:22 -08:00
|
|
|
build:
|
2017-03-06 14:56:59 -08:00
|
|
|
context: ./src/nginx
|
2017-01-21 11:20:22 -08:00
|
|
|
dockerfile: Dockerfile
|
2017-01-20 19:22:02 -08:00
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 80:80
|