-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenvExample
More file actions
4 lines (4 loc) · 869 Bytes
/
envExample
File metadata and controls
4 lines (4 loc) · 869 Bytes
1
2
3
4
{
"filename": ".env.example",
"content": "# Application\nNODE_ENV=production\nPORT=3000\nHOST=0.0.0.0\n\n# Database\nDATABASE_URL=postgresql://postgres:postgres@postgres:5432/node_express_db\nDB_HOST=postgres\nDB_PORT=5432\nDB_NAME=node_express_db\nDB_USER=postgres\nDB_PASSWORD=postgres\n\n# Redis\nREDIS_HOST=redis\nREDIS_PORT=6379\nREDIS_PASSWORD=redis_password\n\n# Authentication\nJWT_SECRET=your-super-secret-jwt-key-change-in-production\nJWT_EXPIRES_IN=7d\nSESSION_SECRET=your-super-secret-session-key-change-in-production\n\n# Payments (Stripe)\nSTRIPE_SECRET_KEY=sk_test_your_stripe_secret_key\nSTRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_publishable_key\nSTRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret\n\n# CORS\nCORS_ORIGIN=http://localhost:3000\n\n# Rate Limiting\nRATE_LIMIT_WINDOW_MS=900000\nRATE_LIMIT_MAX_REQUESTS=100\n\n# Logging\nLOG_LEVEL=info"
}