-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
37 lines (34 loc) · 865 Bytes
/
config.yaml
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
###############################################################################
#
# Service Config section
#
###############################################################################
server:
port: 13500
mode: debug # debug;release
gorm:
LogMode: false # db log
view:
limit: 10
passphrase: tDydrX7ia8Zx6Vwr # rand
###############################################################################
#
# MariaDb Config section
#
###############################################################################
database:
dialect: mysql
database: xserver
# database: bookmarker
user: root
password: yiyun88
# 要支持emoji的话,填 utf8mb4
charset: utf8mb4
# 数据库ip
host: 127.0.0.1
# 数据库端口
port: 3306
# 空闲时最大的连接数
maxIdleConns: 20
# 最大的连接数
maxOpenConns: 20