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

38 lines
968 B
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-08-22 16:22:13 -07:00
- REDIS_CONNECTION_URL=redis://redis
2017-08-20 20:28:08 -07:00
- YOUTUBE_API_KEY={YOUTUBE_API_KEY}
- VIMEO_API_KEY={VIMEO_API_KEY}
- PATREON_CLIENT_ID={PATREON_CLIENT_ID}
- PATREON_SECRET={PATREON_SECRET}
- PATREON_REDIRECT_URL=http://podsync.net/patreon
- COOKIE_SECRET={COOKIE_SECRET}
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:
2017-08-20 20:28:08 -07:00
- METADATA_URL=http://app:5001/api/metadata/{feed_id}
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