- env.ts: supabase: SupabaseConnection | null resolved from env.js (supabaseUrl/supabaseAnonKey), VITE_SUPABASE_*, else null; half config refused - lib/supabase.ts: getSupabaseClient() null when unconfigured, one client per URL - entrypoint.sh writes the two public values; .env.example placeholders - Dockerfile copies packages/supabase manifest for the install layer - no UI change; 7 new tests (278 app)
19 lines
641 B
Bash
19 lines
641 B
Bash
# Server port (nginx listen port inside Docker)
|
|
PORT=8080
|
|
|
|
# UI identity strings — injected at runtime via entrypoint.sh
|
|
# Never hardcode these in application code.
|
|
APP_SITE_NAME=Osteo Report
|
|
APP_BRAND_NAME=Osteo Report
|
|
APP_FOOTER_NAME=Osteo Report
|
|
APP_TAGLINE=Bilans d'ostéopathie animalière
|
|
|
|
# Supabase connection exposed to the browser (public values, RLS protects data).
|
|
# Empty = app runs without backend. Local stack: `pnpm db:start` prints both.
|
|
# NEVER put the service_role key here or in any browser-facing variable.
|
|
APP_SUPABASE_URL=
|
|
APP_SUPABASE_ANON_KEY=
|
|
|
|
# Docker Compose project namespace
|
|
COMPOSE_PROJECT_NAME=osteo-report
|