41 lines
767 B
Plaintext
41 lines
767 B
Plaintext
NODE_ENV=development
|
|
HOST=0.0.0.0
|
|
PORT=3001
|
|
APP_URL=http://localhost:3001
|
|
|
|
# Database
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_USER=postgres
|
|
DB_PASSWORD=password
|
|
DB_NAME=nestjs_blog
|
|
DB_SSL=false
|
|
|
|
# JWT
|
|
JWT_ACCESS_SECRET=change-me-access-secret-at-least-32-chars
|
|
JWT_REFRESH_SECRET=change-me-refresh-secret-at-least-32-chars
|
|
JWT_ACCESS_EXPIRES_IN=15m
|
|
JWT_REFRESH_EXPIRES_IN=7d
|
|
|
|
# Tokens
|
|
MAGIC_LINK_TTL_MINUTES=20
|
|
PASSWORD_RESET_TTL_MINUTES=30
|
|
|
|
# Cookies
|
|
COOKIE_SECURE=false
|
|
COOKIE_DOMAIN=
|
|
|
|
# Email (leave blank to use console fallback in dev)
|
|
MAIL_FROM=no-reply@blog.local
|
|
SMTP_HOST=
|
|
SMTP_PORT=587
|
|
SMTP_USER=
|
|
SMTP_PASS=
|
|
|
|
# Google OAuth
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
GOOGLE_CALLBACK_URL=http://localhost:3000/auth/google/callback
|
|
|
|
|
|
FRONTEND_URL=http://localhost:3000 |