forked from gitslagga/gitbitex-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.json
55 lines (52 loc) · 1.25 KB
/
config.example.json
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
{
"database": {
"default": {
"host": "127.0.0.1",
"port": "3306",
"user": "root",
"pwd": "123456",
"name": "spot",
"max_idle_con": 50,
"max_open_con": 150,
"driver": "mysql",
"params": {
"charset": "utf8mb4",
"loc": "Local"
}
}
},
"prefix": "0x82d2658D3fF713fbDA59f39aEA584975D7442407",
"store": {
"path": "./uploads",
"prefix": "uploads"
},
"language": "cn",
"index": "/",
"debug": true,
"bootstrap_file_path": "./bootstrap.go",
"no_limit_login_ip": true,
"theme": "sword",
"app_id": "tokWOWWp4A41",
"title": "GitbitexAdmin",
"logo": "GitbitexAdmin",
"mini_logo": "GA",
"login_url": "/login",
"env": "local",
"info_log": "./logs/info.log",
"error_log": "./logs/error.log",
"access_log": "./logs/access.log",
"session_life_time": 7200,
"file_upload_engine": {
"name": "local"
},
"login_title": "GitbitexAdmin",
"login_logo": "GitbitexAdmin",
"auth_user_table": "goadmin_users",
"go_mod_file_path": "./go.mod",
"asset_root_path": "./public/",
"hide_config_center_entrance": true,
"hide_app_info_entrance": false,
"hide_tool_entrance": true,
"hide_plugin_entrance": true,
"hide_visitor_user_center_entrance": true
}