mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
version: '2.1'
|
|
|
|
services:
|
|
app:
|
|
image: mxpv/podsync
|
|
container_name: app
|
|
restart: always
|
|
ports:
|
|
- 5001
|
|
environment:
|
|
- POSTGRES_CONNECTION_URL={POSTGRES_CONNECTION_URL}
|
|
- 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/user/patreon
|
|
- PATREON_WEBHOOKS_SECRET={PATREON_WEBHOOKS_SECRET}
|
|
- COOKIE_SECRET={COOKIE_SECRET}
|
|
- GIN_MODE=release
|
|
- AWS_ACCESS_KEY={AWS_ACCESS_KEY}
|
|
- AWS_ACCESS_SECRET={AWS_ACCESS_SECRET}
|
|
- DYNAMO_FEEDS_TABLE_NAME=Prod_Feeds
|
|
- DYNAMO_PLEDGES_TABLE_NAME=Prod_Pledges
|
|
logging:
|
|
driver: "awslogs"
|
|
options:
|
|
awslogs-region: "us-east-1"
|
|
awslogs-group: "Prod"
|
|
awslogs-stream: "Backend"
|
|
awslogs-multiline-pattern: "{"
|
|
ytdl:
|
|
image: mxpv/ytdl
|
|
container_name: ytdl
|
|
restart: always
|
|
ports:
|
|
- 5002
|
|
environment:
|
|
- METADATA_URL=http://app:5001/api/metadata/{feed_id}
|
|
nginx:
|
|
image: mxpv/nginx:latest
|
|
container_name: nginx
|
|
restart: always
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
environment:
|
|
- TZ=America/Los_Angeles
|
|
- LETSENCRYPT=true
|
|
- LE_EMAIL=pavlenko.maksym@gmail.com
|
|
- LE_FQDN=podsync.net,www.podsync.net
|
|
volumes:
|
|
- /data/ssl:/etc/nginx/ssl/
|
|
- /data/nginx_cache:/tmp/nginx/ |