conf.yaml
657 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
develop: true
name: "Pro2DServer"
workerid: 1
datacenterid: 1
mongo: &default-mongo
host: "192.168.0.206"
port: 27017
user: ""
password: ""
timeout: 2
maxnum: 50
etcd:
dialtimeout: 5
endpoints:
- "192.168.0.206:2379"
server_account:
id: "1"
name: "account"
ip: "192.168.0.206"
port: 8848
dbname: "account"
server_game:
id: "1"
name: "game"
ip: "192.168.0.206"
port: 8849
dbname: "game"
logconf:
filename: "./pro2d.log" # ⽇志⽂件路径
maxsize: 1024 # 1M=1024KB=1024000byte
maxbackups: 5 # 最多保留5个备份
maxage: 30 # days
compress: true # 是否压缩 disabled by default