-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env_default
More file actions
56 lines (56 loc) · 1.37 KB
/
.env_default
File metadata and controls
56 lines (56 loc) · 1.37 KB
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
#TZ=UTC
TZ=Asia/Shanghai
#
#日志级别 panic fatal error warn info debug trace
LOG_LEVEL=info
#
#GIN run mode runmode
SERVER_GIN_RUNMODE=release
#
# 服务开放端口 server port :port :8080
SERVER_PORT=8080
#服务网址 server url http://127.0.0.1:8080
SERVER_URL=http://127.0.0.1:8080
#
# server db redis address
SERVER_DB_REDIS_ADDRESS=127.0.0.1:6379
# server db redis password Redis密码
SERVER_DB_REDIS_PASSWORD=
# server db redis Redis库 0 1 2 3
SERVER_DB_REDIS_DB=0
#
#数据库类型, mysql,sqlite,postgres 创建的mysql数据库数据集建议使用utf8mb4
SERVER_DB_TYPE=postgres
#数据库地址,如本地为 127.0.0.1
SERVER_DB_HOST=127.0.0.1
#数据库端口,mysql默认为3306 postgres默认端口为5432
SERVER_DB_PORT=5432
#数据库连接地址,形式如 数据库域名:端口号
SERVER_DB_ADDRESS=127.0.0.1:5432
#数据库数据表前缀,形式如 数据库域名:端口号
SERVER_DB_TABLE_PREFIX=
#数据库用户名
SERVER_DB_USERNAME=
#数据库用户名密码
SERVER_DB_PASSWORD=
#数据库名称,在mysql或psql中创建的数据库名称
SERVER_DB_NAME=
#
#
#
#
# manager id
BOT_MANAGER_ID=
# Bot token
BOT_TELEGRAM_TOKEN=
# bot webhook url
BOT_TELEGRAM_WEBHOOK_URL=
#
#
#
# core api 验证token core_api_token
CORE_API_TOKEN=
# core api 验证token(只读权限) core_api_token_readonly
CORE_API_TOKEN_READONLY=
#core api url https://server.domain
CORE_API_URL=