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

41 lines
1.1 KiB
YAML
Raw Normal View History

version: '2'
services:
app:
2017-06-14 00:40:34 -07:00
image: gcr.io/pod-sync/app:latest
2017-02-11 00:40:50 -08:00
container_name: app
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
2017-06-14 00:40:34 -07:00
- Podsync:RemoteResolverUrl=http://ytdl:5002
- Podsync:YouTubeApiKey={YOUTUBE_API_KEY}
- Podsync:VimeoApiKey={VIMEO_API_KEY}
- Podsync:PatreonClientId={PATREON_CLIENT_ID}
- Podsync:PatreonSecret={PATREON_SECRET}
- Logging:LogLevel:Default=Information
- Logging:LogLevel:Microsoft=Warning
ytdl:
2017-06-14 00:40:34 -07:00
image: gcr.io/pod-sync/ytdl:latest
2017-02-11 00:40:50 -08:00
container_name: ytdl
restart: always
ports:
2017-06-14 00:40:34 -07:00
- 5002
environment:
- REDIS_CONNECTION_STRING=redis://redis:6379/0
redis:
image: redis
2017-02-11 00:40:50 -08:00
container_name: redis
2017-06-14 00:40:34 -07:00
command: redis-server --appendonly no --save 900 1 --save 300 10 --save 60 10000
2017-01-04 17:57:05 -08:00
restart: always
volumes:
2017-01-20 19:22:02 -08:00
- /data/redis:/data
nginx:
2017-06-14 00:40:34 -07:00
image: gcr.io/pod-sync/nginx:latest
2017-02-11 00:40:50 -08:00
container_name: nginx
2017-01-20 19:22:02 -08:00
restart: always
ports:
2017-06-14 00:40:34 -07:00
- 80:80