nestjs-starter/.env.example

30 lines
497 B
Plaintext
Raw Normal View History

2026-02-14 13:41:28 +03:00
# Docker
2026-02-17 13:39:51 +03:00
PROJECT_NAME=app
2026-02-14 13:41:28 +03:00
# Database
DB_PORT=5432
2026-02-17 13:39:51 +03:00
DB_NAME=app
DB_USERNAME=app
DB_PASSWORD=Strong_Password_123456
2026-02-14 13:41:28 +03:00
# Redis
REDIS_PORT=6379
# Backend
BACK_PORT=4000
# How to generate: require('crypto').randomBytes(32).toString('hex')
2026-02-17 13:39:51 +03:00
JWT_SECRET=...
JWT_REFRESH_SECRET=...
2026-02-14 13:41:28 +03:00
# SMTP
2026-02-17 13:39:51 +03:00
SMTP_HOST=smtp.example.com
2026-02-14 13:41:28 +03:00
SMTP_PORT=465
SMTP_SECURE=true
2026-02-17 13:39:51 +03:00
SMTP_USER=user@example.com
SMTP_PASSWORD=...
SMTP_FROM=noreply@example.com
2026-02-14 13:41:28 +03:00
# Frontend URL (for password reset links etc.)
2026-02-17 13:39:51 +03:00
FRONTEND_URL=http://localhost:3000