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

38 lines
960 B
YAML

version: '2'
services:
app:
image: gcr.io/pod-sync/app:latest
container_name: app
restart: always
ports:
- 5001
environment:
- REDIS_CONNECTION_URL=redis
- 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:
image: gcr.io/pod-sync/ytdl:latest
container_name: ytdl
restart: always
ports:
- 5002
environment:
- METADATA_URL=http://app:5001/api/metadata/{feed_id}
redis:
image: redis
container_name: redis
command: redis-server --appendonly no --save 900 1 --save 300 10 --save 60 10000
restart: always
volumes:
- /data/redis:/data
nginx:
image: gcr.io/pod-sync/nginx:latest
container_name: nginx
restart: always
ports:
- 80:80