Initial commit - Fase 1: Setup Rails + Docker
This commit is contained in:
43
.env.example
Normal file
43
.env.example
Normal file
@@ -0,0 +1,43 @@
|
||||
# ============================================================
|
||||
# .env.example — COPIE PARA .env E PREENCHA OS VALORES REAIS
|
||||
# NUNCA versione o arquivo .env no Git!
|
||||
# ============================================================
|
||||
|
||||
# Ambiente Rails
|
||||
RAILS_ENV=development
|
||||
|
||||
# Banco de dados principal (novo sistema)
|
||||
DATABASE_URL=postgresql://postgres:senha_segura@db:5432/logistica_db
|
||||
DB_HOST=db
|
||||
DB_PORT=5432
|
||||
DB_NAME=logistica_db
|
||||
DB_USER=postgres
|
||||
DB_PASSWORD=senha_segura
|
||||
|
||||
# Banco de dados existente (Gade Hospitalar — APENAS LEITURA)
|
||||
# Se estiver em servidor separado, altere DB_HOST acima para o IP correto
|
||||
DB_EXISTING_TABLE=db_reem_simplerout_2026
|
||||
DB_EXISTING_SCHEMA=public
|
||||
DB_EXISTING_ACCOUNT_ID=95907
|
||||
|
||||
# Rails Security — gere com: bundle exec rails secret
|
||||
SECRET_KEY_BASE=gere_com_rails_secret_e_cole_aqui
|
||||
|
||||
# Devise — gere com: bundle exec rails secret
|
||||
DEVISE_SECRET_KEY=gere_com_rails_secret_e_cole_aqui
|
||||
|
||||
# Twilio — WhatsApp (opcional, Fase 8)
|
||||
TWILIO_ACCOUNT_SID=
|
||||
TWILIO_AUTH_TOKEN=
|
||||
TWILIO_WHATSAPP_FROM=whatsapp:+14155238886
|
||||
|
||||
# E-mail (opcional, Fase 8)
|
||||
SMTP_ADDRESS=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USERNAME=
|
||||
SMTP_PASSWORD=
|
||||
SMTP_DOMAIN=gade.com.br
|
||||
|
||||
# App
|
||||
APP_HOST=localhost:3000
|
||||
APP_NAME=Gade Logística
|
||||
Reference in New Issue
Block a user