FaceSWAP / .env.example
aditya-rAj19's picture
Control Panel: Google sign-in restricted to a 3-email allowlist
e18e557
Raw
History Blame Contribute Delete
1.13 kB
# Copy to .env and fill in. .env is gitignored β€” never commit real keys.
# Processing
USE_GPU=false
MAX_IMAGE_SIZE=1024
# ── Supabase (target-image storage) ──────────────────────────────────────────
# Project Settings β†’ API. Use the SERVICE ROLE key on the backend (it bypasses
# RLS for writes). Leave blank to use the local Location/ folder instead.
# Run supabase_schema.sql once in the Supabase SQL editor first.
SUPABASE_URL=https://YOUR-PROJECT.supabase.co
SUPABASE_SERVICE_KEY=your-service-role-key
SUPABASE_BUCKET=location-images
# ── Control Panel access β€” Google sign-in restricted to these emails ─────────
# Only these Google accounts can open the Control Panel (frontend + backend).
# Comma-separated; keep in sync with ALLOWED_ADMINS in src/pages/AdminPage.jsx.
ALLOWED_ADMIN_EMAILS=owner1@gmail.com,owner2@gmail.com,owner3@gmail.com
FIREBASE_API_KEY=your-firebase-web-api-key
# Optional legacy passwords (break-glass). Leave blank to require Google only.
ADMIN_PASSWORD_1=
ADMIN_PASSWORD_2=