mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
version: '2'
|
|
|
|
services:
|
|
app:
|
|
image: gcr.io/pod-sync/app:latest
|
|
container_name: app
|
|
restart: always
|
|
ports:
|
|
- 5001
|
|
environment:
|
|
- REDIS_CONNECTION_URL=redis://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=https://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
|
|
- 443:443
|
|
environment:
|
|
- TZ=America/Los_Angeles
|
|
- LETSENCRYPT=true
|
|
- LE_EMAIL=name@example.com
|
|
- LE_FQDN=podsync.net,www.podsync.net
|
|
volumes:
|
|
- /data/ssl:/etc/nginx/ssl
|