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

44 lines
890 B
YAML
Raw Normal View History

version: '2'
services:
app:
image: podsync/app
2017-02-11 00:40:50 -08:00
container_name: app
build:
2017-03-06 14:56:59 -08:00
context: ./src/Podsync
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
2017-03-06 14:56:59 -08:00
- ASPNETCORE_ENVIRONMENT=Production
- Podsync:RedisConnectionString=redis
- Podsync:RemoteResolverUrl=http://ytdl:8080
env_file:
- ~/podsync.env
ytdl:
image: podsync/ytdl
2017-02-11 00:40:50 -08:00
container_name: ytdl
build:
2017-03-06 14:56:59 -08:00
context: ./src/ytdl
dockerfile: Dockerfile
restart: always
ports:
- 8080
redis:
image: redis
2017-02-11 00:40:50 -08:00
container_name: 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-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