Initial commit: monorepo Match Live TV.
Rails API, app Flutter, infrastruttura Docker/MediaMTX, sito marketing e documentazione di deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
29
backend/config/deploy.yml
Normal file
29
backend/config/deploy.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
# Kamal deploy configuration
|
||||
service: match-live-tv
|
||||
image: matchlivetv/backend
|
||||
|
||||
servers:
|
||||
web:
|
||||
hosts:
|
||||
- YOUR_HETZNER_IP
|
||||
|
||||
proxy:
|
||||
ssl: true
|
||||
host: api.matchlivetv.example.com
|
||||
|
||||
env:
|
||||
clear:
|
||||
RAILS_ENV: production
|
||||
MEDIAMTX_API_URL: http://mediamtx:9997
|
||||
MEDIAMTX_RTMP_URL: rtmp://mediamtx:1935
|
||||
secret:
|
||||
- SECRET_KEY_BASE
|
||||
- DATABASE_URL
|
||||
- REDIS_URL
|
||||
- JWT_SECRET
|
||||
- MEDIAMTX_WEBHOOK_SECRET
|
||||
- YOUTUBE_CLIENT_ID
|
||||
- YOUTUBE_CLIENT_SECRET
|
||||
|
||||
builder:
|
||||
arch: amd64
|
||||
Reference in New Issue
Block a user