Revert compose to public git clone with env-based HTML generation, allow inline scripts in CSP for YouTube player, and use window.location.origin for embed origin.
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace Dokploy runtime git clone with Dockerfile build to keep tokens out of the container, add nginx security headers and path whitelist, and scrub templates from the running image after HTML generation.
Co-authored-by: Cursor <cursoragent@cursor.com>