Introduces the Go photo-api service, nginx/systemd deploy wiring, and Next.js gallery/lightbox pages so event photos can be managed and browsed. Co-authored-by: Cursor <cursoragent@cursor.com>
39 lines
1.5 KiB
Bash
39 lines
1.5 KiB
Bash
# Frontend port (dev/start)
|
|
PORT=3002
|
|
|
|
# Site URL (for SEO canonical URLs, sitemap, etc.)
|
|
NEXT_PUBLIC_SITE_URL=https://spanglishcommunity.com
|
|
|
|
# API URL (leave empty for same-origin proxy)
|
|
NEXT_PUBLIC_API_URL=
|
|
|
|
# Photo gallery service (photo-api) origin, used by the /api/photos rewrite
|
|
# and server-side rendering of /photos pages.
|
|
# Dev default: http://localhost:3003 — production: http://127.0.0.1:3020
|
|
PHOTO_API_URL=
|
|
|
|
# Google OAuth (optional - leave empty to hide Google Sign-In button)
|
|
# Get your Client ID from: https://console.cloud.google.com/apis/credentials
|
|
# 1. Create a new OAuth 2.0 Client ID (Web application)
|
|
# 2. Add authorized JavaScript origins: http://localhost:3002, https://yourdomain.com
|
|
# 3. Add authorized redirect URIs: http://localhost:3002, https://yourdomain.com
|
|
NEXT_PUBLIC_GOOGLE_CLIENT_ID=
|
|
|
|
# Social Links (optional - leave empty to hide)
|
|
NEXT_PUBLIC_WHATSAPP=+595991234567
|
|
NEXT_PUBLIC_INSTAGRAM=spanglish_py
|
|
NEXT_PUBLIC_EMAIL=hola@spanglish.com.py
|
|
NEXT_PUBLIC_TELEGRAM=spanglish_py
|
|
NEXT_PUBLIC_TIKTOK=spanglishsocialpy
|
|
|
|
# Revalidation secret (shared between frontend and backend for on-demand cache revalidation)
|
|
# Must match the REVALIDATE_SECRET in backend/.env
|
|
REVALIDATE_SECRET=change-me-to-a-random-secret
|
|
|
|
# Next event cache revalidation (seconds) - homepage metadata/social preview refresh interval. Default: 3600
|
|
NEXT_EVENT_REVALIDATE_SECONDS=3600
|
|
|
|
# Plausible Analytics (optional - leave empty to disable tracking)
|
|
NEXT_PUBLIC_PLAUSIBLE_URL=https://analytics.azzamo.net
|
|
NEXT_PUBLIC_PLAUSIBLE_DOMAIN=spanglishcommunity.com
|