Configuração do Sistema

🔧 Variáveis de Ambiente Principais

Servidor

PORT=3000
NODE_ENV=production

Banco de Dados

DATABASE_URL=sqlite:./database/payments.sqlite
# ou PostgreSQL
DATABASE_URL=postgresql://user:pass@localhost:5432/payments

Provedores de Pagamento

STRIPE_SECRET_KEY=sk_live_...
STRIPE_WEBHOOK_SECRET=whsec_...
PAYPAL_CLIENT_ID=...
PAYPAL_CLIENT_SECRET=...
MERCADOPAGO_ACCESS_TOKEN=...

Segurança

📊 Configuração de Monitoramento

Prometheus

Logs

🔒 Configuração de Segurança

Rate Limiting

CORS


Configuração atualizada: December 2024

Last updated

Was this helpful?