-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
26 lines (21 loc) · 1 KB
/
Copy path.env.example
File metadata and controls
26 lines (21 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# ============================================================
# ClinicOps — Variáveis de Ambiente
# ============================================================
# Copie este arquivo para .env e preencha os valores reais.
# NUNCA comite o arquivo .env com valores reais.
# --- Supabase (Frontend) ---
# Obtenha em: https://supabase.com/dashboard/project/<seu-projeto>/settings/api
VITE_SUPABASE_URL=https://xxxxxxxxxxx.supabase.co
VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
# --- Supabase (Backend/Servidor) ---
# Service Role Key — NÃO exponha no frontend. Apenas no servidor.
SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
# --- Servidor Express ---
# Porta do servidor (padrão: 3000 em dev, definida pela plataforma em prod)
PORT=3000
# --- CORS ---
# Origem permitida em produção (URL do seu frontend deployado)
# Deixe vazio em desenvolvimento (aceita localhost automaticamente)
ALLOWED_ORIGIN=https://seu-frontend.vercel.app
# --- Ambiente ---
NODE_ENV=development