-
Notifications
You must be signed in to change notification settings - Fork 8
/
.env-sampel
57 lines (50 loc) · 1.42 KB
/
.env-sampel
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# ==================================
# SERVER
# ==================================
NODE_ENV=development
# NODE_ENV=production
PORT=3000
APP_NAME=WABOT
APP_URL=http://localhost:3000
SESSION_EXP=7 #HARI
SESSION_CHECK_PERIODE=5 #MENIT
SCREATE_KEY="xx"
LOG_LEVEL=silent # config dari logger
WA_ADMIN=xx
WABOT=xx
# ==================================
# DATABASE CONFIGURATION
# ==================================
DATABASE_URL="mysql://xxx:@localhost:3306/xxx"
# ==================================
# SMTP CONFIGURATION
# ==================================
SMTP_HOST=mail.domain.my.id
SMTP_PORT=465
SMTP_SECURE=true
SMTP_TLS=false
SMTP_PASS=xxx
# ==================================
# CONFIGURATION CORS SOCKET IO
# ==================================
SOCKET_CORS_ORIGIN="${APP_URL}" #PISAHKAN DENGAN KOMA
# ==================================
# WHATSAPP BAILEYS CONFIGURATION
# ==================================
# SERVER ON START OR RESTRAT
RESTORE_SESSIONS_ON_START_UP=true
# Berfungsi untuk kasih jeda ketika server baru ON agar tidak berat
RESTORE_SESSIONS_DELAY=30 #DETIK
# MAKSIMAL SCAN ULANG QRCODE WHATSAPP
INSTANCE_MAX_RETRY_QR=2
# QRCODE TIME OUT
QRCODE_TIME_OUT=34 #DETIK
# AUTO BACA PESAN WHATSAPP
MARK_MESSAGES_READ=false
# BROWSER CONFIGURATION
CLIENT_PLATFORM='Whatsapp MD'
CLIENT_BROWSER='Chrome'
CLIENT_VERSION='4.0.0'
# LINK DOKUMENTASI
LINK_DOC_API="https://documenter.getpostman.com/view/20500330/2s946mbqoW"