Commit Graph

14 Commits

Author SHA1 Message Date
tomasz-syn-grzegorza 2526f9dde2 Update Dokploy env example with production video IDs and SEO copy.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 20:33:10 +02:00
tomasz-syn-grzegorza b8bb8eecd2 Fix Dokploy deploy to match agencja-ai runtime clone pattern.
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>
2026-06-27 17:25:28 +02:00
tomasz-syn-grzegorza f4775366ef Harden production security: Dockerfile build, nginx whitelist, and CSP.
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>
2026-06-27 16:58:27 +02:00
tomasz-syn-grzegorza e22c26798b Fix Facebook in-app browser playback and document www SSL setup.
Mute autoplay and add faster loader fallback for FB/Instagram WebViews; document adding www.slavic-pulse.com in Dokploy to avoid self-signed cert errors on mobile.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 16:40:38 +02:00
tomasz-syn-grzegorza d87ad674ee Add FACEBOOK_DESCRIPTION for short Open Graph preview text.
Use a dedicated og:description variable separate from SITE_DESCRIPTION, with fallback when unset.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 16:02:29 +02:00
tomasz-syn-grzegorza 930e18d761 Align Dokploy compose with Traefik: expose port 80 only, no host mapping.
Remove FRONTEND_PORT from deployment compose; document Container Port 80 in Dokploy UI and clarify Gitea OAuth vs runtime git clone auth.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 15:31:07 +02:00
tomasz-syn-grzegorza 02d7f09824 Fix Dokploy deploy: support private Gitea repo and document exit 128.
Add GITEA_REPO_URL for authenticated clone, improve startup logging, default FRONTEND_PORT to 8082, and update deployment README.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 15:07:36 +02:00
tomasz-syn-grzegorza c482b1787b Use YouTube thumbnails as pre-video background and add per-format redirect toggles.
Replace local BG_IMAGE with dynamic YouTube poster URLs, generate og:image from FHD thumbnail, and allow redirect-or-stay behavior per FHD/vertical format.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 14:29:35 +02:00
tomasz-syn-grzegorza 0706909aff Add responsive YouTube short selection by viewport format.
Choose FHD 16:9 or vertical 9:16 intro from .env based on browser aspect ratio, with per-format redirect URLs and orientation change handling.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 13:42:25 +02:00
tomasz-syn-grzegorza d43e747939 Fix YouTube intro loading and extend .env-driven site config.
Embed video settings directly in generated HTML, add optional post-video redirect toggle, and expose Twitter description as a separate env variable.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 17:47:32 +02:00
tomasz-syn-grzegorza 3a843c53f3 Move template assets to .env-driven generation.
Site metadata, images, favicons, and YouTube settings are now configured via .env and rendered from HTML/manifest templates at dev or container startup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 15:45:04 +02:00
tomasz-syn-grzegorza 833e248518 Add post-video redirect to YouTube URL from env config.
After the intro finishes, users are redirected to POST_VIDEO_REDIRECT_URL loaded via generated config.js for dev, Docker, and Dokploy deployments.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 15:36:38 +02:00
tomasz-syn-grzegorza d17987efed Init Slavic Pulse frontend for slavic-pulse.com domain.
Adapt branding, SEO meta tags, assets, Docker dev on port 8082, and Dokploy
example pointing to site-slavic-pulse-com Gitea repository.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 15:09:03 +02:00
tomasz-syn-grzegorza d565f83490 init: static frontend for agency-ai.dev — nginx + YouTube intro video
Static landing page served via nginx 1.27 Alpine container.
Features:
- Fullscreen background image visible from first paint
- YouTube intro video overlay (iframe API, lazy loaded)
- PWA manifest with favicons (48x48, 180x180, 512x512)
- SEO meta tags (OG, Twitter Cards, canonical URL)
- Safety timeout: falls back to static image if YouTube fails

Infrastructure:
- Dockerfile: nginx 1.27 Alpine with custom default.conf
  (gzip, cache headers, security headers X-Frame-Options/nosniff)
- docker-compose.yml: local dev on FRONTEND_PORT (default 8080)
- docker-compose-example/: Dokploy deployment via runtime git clone
  from Gitea, resource limits (256M RAM, 0.5 CPU)

Files:
- index.html: main page with inline CSS + JS (YouTube iframe API)
- default.conf: nginx config (gzip, caching, security headers)
- site.webmanifest: PWA manifest
- assets/imgs/: background image + favicons
- .env.example: FRONTEND_PORT template
2026-06-26 08:55:39 +00:00