Club come entità principale, branding e fix infrastruttura streaming.

Introduce clubs con abbonamento, branding Active Storage e flusso registrazione società; corregge healthcheck MediaMTX (immagine distroless) e allinea dominio produzione matchlivetv.it.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-27 09:16:24 +02:00
parent 471291b2c4
commit 4083bc5dee
53 changed files with 1120 additions and 197 deletions

View File

@@ -7,15 +7,15 @@ JWT_SECRET=CHANGE_ME_openssl_rand_hex_32
MEDIAMTX_WEBHOOK_SECRET=CHANGE_ME_openssl_rand_hex_32
# RTMP pubblico per telefoni (IP WAN o DDNS + porta 1935)
MEDIAMTX_RTMP_URL=rtmp://YOUR_PUBLIC_IP_OR_DOMAIN:1935
MEDIAMTX_RTMP_URL=rtmp://www.matchlivetv.it:1935
# Dominio pubblico (Nginx Proxy Manager → Rails :3000)
APP_PUBLIC_URL=https://matchlivetv.yourdomain.com
HLS_PUBLIC_URL=https://matchlivetv.yourdomain.com/hls
APP_PUBLIC_URL=https://www.matchlivetv.it
HLS_PUBLIC_URL=https://www.matchlivetv.it/hls
CORS_ORIGINS=https://matchlivetv.yourdomain.com
ALLOWED_HOSTS=matchlivetv.yourdomain.com,192.168.1.146
YOUTUBE_REDIRECT_URI=https://matchlivetv.yourdomain.com/api/v1/youtube/callback
CORS_ORIGINS=https://www.matchlivetv.it,https://matchlivetv.it
ALLOWED_HOSTS=www.matchlivetv.it,matchlivetv.it,192.168.1.146,localhost
YOUTUBE_REDIRECT_URI=https://www.matchlivetv.it/api/v1/youtube/callback
# YouTube OAuth (opzionale)
YOUTUBE_CLIENT_ID=
@@ -30,13 +30,13 @@ STRIPE_PREMIUM_FULL_PRICE_ID=
RAILS_LOG_LEVEL=info
# Titolare trattamento (GDPR) — obbligatorio in produzione
PRIVACY_CONTROLLER_NAME=Ragione sociale / nome titolare
PRIVACY_CONTROLLER_ADDRESS=Indirizzo sede legale
PRIVACY_CONTACT_EMAIL=privacy@matchlivetv.it
PRIVACY_CONTROLLER_NAME=Emiliano Frascaro
PRIVACY_CONTROLLER_ADDRESS=Via Guido De Ruggiero, 89 - 20142 - Milano (MI)
PRIVACY_CONTACT_EMAIL=privacy@matchlive.it
PRIVACY_CONTROLLER_VAT=
# Email transazionali (reset password, inviti)
MAILER_FROM=Match Live TV <noreply@matchlivetv.it>
MAILER_FROM=Match Live TV <noreply@matchlive.it>
SMTP_ADDRESS=
SMTP_PORT=587
SMTP_USERNAME=