29 lines
619 B
Plaintext
29 lines
619 B
Plaintext
# Database
|
|
DATABASE_URL=mysql://user:password@localhost:3306/app
|
|
|
|
# Server
|
|
PORT=3001
|
|
HOST=127.0.0.1
|
|
APP_ENV=local
|
|
|
|
# Auth — MUST regenerate for production: openssl rand -hex 32
|
|
JWT_SECRET=generate-with-openssl-rand-hex-32
|
|
ACCESS_TOKEN_EXPIRY=900
|
|
REFRESH_TOKEN_SESSION_EXPIRY=3600
|
|
REFRESH_TOKEN_REMEMBER_EXPIRY=2592000
|
|
|
|
# TOTP — MUST regenerate for production: openssl rand -hex 32
|
|
TOTP_ENCRYPTION_KEY=generate-with-openssl-rand-hex-32
|
|
|
|
# File storage
|
|
NAS_PATH=Z:/02_PROJEKTY
|
|
MAX_UPLOAD_SIZE=52428800
|
|
|
|
# Email
|
|
CONTACT_EMAIL_TO=
|
|
CONTACT_EMAIL_FROM=
|
|
SMTP_FROM=
|
|
|
|
# CORS (production only, comma-separated)
|
|
CORS_ORIGINS=
|