-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy path.env.production
More file actions
36 lines (27 loc) · 715 Bytes
/
.env.production
File metadata and controls
36 lines (27 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# APP CONFIG
PORT="3002"
# FOR CORS AND EMAILS
CLIENT_SIDE_URL="http://localhost:3001"
# JWT
JWT_SECRET="some-secret"
JWT_EXPIRES_IN=86400
# NODE_ENV
NODE_ENV="production"
# SESSION
SESSION_EXPIRES_IN=86400
# AUTH
PASSWORD_RESET_TOKEN_EXPIRES_IN=86400
SET_PASSWORD_TOKEN_EXPIRES_IN=86400
SET_SESSION=1
# DATABSES
REDIS_URL="redis://localhost:6379"
MONGO_DATABASE_URL="mongodb://root:example@localhost:27017/typescript-backend-toolkit?authSource=admin"
# Mailgun Configuration (dummy values for development)
MAILGUN_API_KEY="dummy-key"
MAILGUN_DOMAIN="example.com"
MAILGUN_FROM_EMAIL="no-reply@example.com"
# ADMIN
ADMIN_EMAIL="admin@example.com"
ADMIN_PASSWORD="password"
# USER
OTP_VERIFICATION_ENABLED=0