d565f83490
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
9 lines
341 B
Bash
9 lines
341 B
Bash
# Agencja AI — Environment Configuration (Local Development)
|
|
# Copy to .env and fill in your values.
|
|
# Never commit .env with real credentials to version control.
|
|
|
|
# --- Frontend Server ---
|
|
# Port na hoście (localhost). W kontenerze nginx zawsze nasłuchuje na 80.
|
|
# Mapowanie w docker-compose.yml: ${FRONTEND_PORT}:80
|
|
FRONTEND_PORT=8080
|