-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
46 lines (38 loc) · 859 Bytes
/
.env.example
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
APP_HOST="localhost"
APP_PORT=8080
APP_NAME="Go API by @aldiwildan77"
APP_TIMEZONE="Asia/Jakarta"
APP_TIMEOUT=60
APP_DEBUG=true
DB_HOST="localhost"
DB_PORT=20000
DB_USER=""
DB_PASSWORD=""
DB_NAME=""
DB_CHARSET="utf8mb4"
DB_DEBUG=false
DB_DIALECT="mysql"
CACHE_HOST="localhost"
CACHE_PORT=6379
CACHE_USERNAME=""
CACHE_PASSWORD=""
CACHE_MAX_IDLE=10
CACHE_MAX_RETRY=3
LOG_LEVEL=info
CONSOLE_LOG_ENABLED=true
CONSOLE_LOG_NO_COLOR=false
FILE_LOG_ENABLED=true
FILE_LOG_DIRECTORY=logs
FILE_LOG_NAME=server.log
FILE_LOG_MAX_SIZE=1
FILE_LOG_MAX_BACKUPS=100
FILE_LOG_MAX_AGE=7
FILE_LOG_LOCALTIME=true
FILE_LOG_COMPRESSED=true
RATE_LIMIT_RATE=100
RATE_LIMIT_BURST=20
RATE_LIMIT_EXPIRE=1
RATE_LIMIT_EXPIRE_FORMAT="m"
CORS_ALLOW_ORIGINS="https://aldiwildan.me,https://aldiwildan.com"
CORS_ALLOW_METHODS="GET,POST,PUT,PATCH,DELETE,OPTIONS"
HTTP_TIMEOUT_DURATION=10