-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (26 loc) · 1.01 KB
/
Copy path.env.example
File metadata and controls
34 lines (26 loc) · 1.01 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
27
28
29
30
31
32
33
34
# Postgres local (docker-compose)
POSTGRES_USER=listaviva
POSTGRES_PASSWORD=troque_esta_senha
POSTGRES_DB=listaviva_development
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
RAILS_ENV=development
# URL publica do frontend. Entra no link de compartilhamento
# (https://<FRONTEND_URL>/l/<token>) e na allowlist de CORS.
FRONTEND_URL=http://localhost:5173
# --- Producao (nenhuma destas e necessaria em desenvolvimento) ---
# Neon. Esquema postgresql:// normal — este projeto nao usa PostGIS.
DATABASE_URL=
# Gerado no proprio Render (botao Generate). Nunca copiar para ca.
SECRET_KEY_BASE=
# O container sobe via Thruster, que escuta em HTTP_PORT e repassa
# para TARGET_PORT. A plataforma injeta PORT com a porta externa;
# sem TARGET_PORT o Puma disputaria a porta do Thruster.
HTTP_PORT=10000
TARGET_PORT=3000
WEB_CONCURRENCY=1
RAILS_MAX_THREADS=3
# Deploy do frontend na Cloudflare (so local, nunca no repositorio).
CLOUDFLARE_API_TOKEN=
# Base da API consumida pelo frontend em build time.
PUBLIC_API_URL=http://localhost:3000