-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (34 loc) · 933 Bytes
/
.env.example
File metadata and controls
41 lines (34 loc) · 933 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
37
38
39
40
41
APP_NAME=cetus
APP_ENV=dev
APP_DATA_ROOT=/usr/cetus
APP_PUBLIC_RES_URL=http://example.com/static
LOG_CONSOLE_OUT=true
LOG_FILE_OUT=false
LOG_FILE_PATH=/Users/jack/log/cetus.log
LOG_LEVEL=debug
LOG_FORMAT=json
JWT_EXPIRES_IN=72 # hours
JWT_REDIS_PREFIX=auth
JWT_CERT_PATH=storage/jwt.crt
JWT_KEY_PATH=storage/jwt.key
JWT_ISSUE=example.com
DB_TYPE=mysql # Database type: mysql, postgres
DB_HOST=127.0.0.1
DB_PORT=3306 # MySQL: 3306, PostgreSQL: 5432
DB_DATABASE=test
DB_USERNAME=root
DB_PASSWORD=password
DB_SSLMODE=disable # PostgreSQL SSL mode: disable, require, verify-ca, verify-full (only for postgres)
DB_MIGRATE_SELF_ONLY=false # 运行合并的时候是否生成其他库的表信息
OPTIMUS_PRIME=11
OPTIMUS_INVERSE=22
OPTIMUS_RANDOM=33
NATS_HOST=127.0.0.1
NATS_USERNAME=root
NATS_PASSWORD=password
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_DATABASE=0
REDIS_PASSWORD=password
SERVER_HTTP_PORT=80
SERVER_GRPC_PORT=50051