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