47 lines
2.6 KiB
Bash
47 lines
2.6 KiB
Bash
# =========================================================================
|
|
# CRE Innovations - Web Studio Environment Configuration
|
|
# =========================================================================
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Site URL (server-only; used for sitemap, SEO, canonical links)
|
|
# ---------------------------------------------------------------------------
|
|
SITE_URL=http://localhost:3000
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Remote Production API Integration
|
|
# IMPORTANT: Use a strong random value. Never use 'abcdef' in production.
|
|
# Generate with: openssl rand -hex 32
|
|
# ---------------------------------------------------------------------------
|
|
API_SECRET_DEFAULT=REPLACE_WITH_STRONG_RANDOM_SECRET
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Backend URL override (optional — only needed if inference server differs from catalog URL)
|
|
# ---------------------------------------------------------------------------
|
|
# API_BACKEND_URL=https://your-inference-server.example.com
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Catalog Admin Secret — protects /api/catalog/reload from unauthenticated access
|
|
# Generate with: openssl rand -hex 32
|
|
# ---------------------------------------------------------------------------
|
|
CATALOG_ADMIN_SECRET=REPLACE_WITH_32_CHAR_HEX
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# CORS origin for /api/* routes. Set to your production domain in production.
|
|
# ---------------------------------------------------------------------------
|
|
ALLOWED_ORIGIN=http://localhost:3000
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Cloudflare Turnstile Bot & Abuse Protection
|
|
# Obtain from: Cloudflare Dashboard > Turnstile > Add Widget
|
|
# Test Site Key (Always Passes): 1x00000000000000000000AA
|
|
# Test Secret Key (Always Passes): 1x0000000000000000000000000000000AA
|
|
# ---------------------------------------------------------------------------
|
|
NEXT_PUBLIC_TURNSTILE_SITE_KEY=your_cloudflare_turnstile_site_key
|
|
CLOUDFLARE_TURNSTILE_SECRET_KEY=your_cloudflare_turnstile_secret_key
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Mobile App Redirect Host override (optional - defaults to current origin / SITE_URL)
|
|
# Used for single smart QR code device routing to Google Play & App Store
|
|
# ---------------------------------------------------------------------------
|
|
# NEXT_PUBLIC_APP_REDIRECT_HOST=https://your-public-domain.com
|