-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.yml.example
164 lines (150 loc) · 3.81 KB
/
config.yml.example
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
db:
auth: &defaultAuthDB "trinity:trinity@tcp(127.0.0.1:3306)/auth"
characters: &defaultCharactersDB "trinity:trinity@tcp(127.0.0.1:3306)/characters"
world: &defaultWorldDB "trinity:trinity@tcp(127.0.0.1:3306)/world"
# Supported 2 schema types:
# tc - TrinityCore
# ac - AzerothCore
schemaType: &defaultSchemaType "tc"
nats: &defaultNatsUrl "nats://localhost:4222"
redis: &defaultRedisUrl "redis://:@localhost:6379/0"
logging: &defaultLogging
# Available options:
# dev
# json
format: dev
# Available logging levels:
# -1 - Trace
# 0 - Debug
# 1 - Info
# 2 - Warning
# 3 - Error
level: 0
auth:
port: 3724
authDB: *defaultAuthDB
dbSchemaType: *defaultSchemaType
serversRegistryServiceAddress: localhost:8999
logging: *defaultLogging
characters:
port: 8991
charactersDB: *defaultCharactersDB
worldDB: *defaultWorldDB
natsUrl: *defaultNatsUrl
serversRegistryServiceAddress: localhost:8999
logging: *defaultLogging
chat:
port: 8992
natsUrl: *defaultNatsUrl
logging: *defaultLogging
game-load-balancer:
port: 8085
realmId: 1
authDB: *defaultAuthDB
dbSchemaType: *defaultSchemaType
healthCheckPort: 8900
preferredHostname: localhost
charactersServiceAddress: "localhost:8991"
serversRegistryServiceAddress: "localhost:8999"
chatServiceAddress: "localhost:8992"
guildsServiceAddress: "localhost:8995"
mailServiceAddress: "localhost:8997"
groupServiceAddress: "localhost:8998"
packetProcessTimeoutSecs: 20
showGameserverConnChangeToClient: true
natsUrl: *defaultNatsUrl
logging: *defaultLogging
guid:
port: 8996
redisUrl: *defaultRedisUrl
charactersDB: *defaultCharactersDB
logging: *defaultLogging
guild:
port: 8995
natsUrl: *defaultNatsUrl
charactersDB: *defaultCharactersDB
logging: *defaultLogging
mail:
port: 8997
natsUrl: *defaultNatsUrl
charactersDB: *defaultCharactersDB
expiredMailsCleanupSecsDelay: 3600
defaultMailExpirationTimeSecs: 2592000
logging: *defaultLogging
group:
port: 8998
natsUrl: *defaultNatsUrl
charactersDB: *defaultCharactersDB
charactersServiceAddress: "localhost:8991"
logging: *defaultLogging
servers-registry:
port: 8999
redisUrl: *defaultRedisUrl
natsUrl: *defaultNatsUrl
logging: *defaultLogging
gameserver:
grpcPort: 9501
healthCheckPort: 8901
preferredHostname: ""
serversRegistryServiceAddress: "localhost:8999"
guidProviderServiceAddress: "localhost:8996"
characterGuidsBufferSize: 50
itemGuidsBufferSize: 200
instanceGuidsBufferSize: 10
natsUrl: *defaultNatsUrl
logging: *defaultLogging
# Optional. More details here https://github.com/walkline/ToCloud9/tree/master/apps/perun.
# Requires `binary` field update for windows.
perun:
apps:
- name: "servers-registry"
alias:
- "sr"
binary: "./servers-registry"
startupTimeoutSecs: 10
- name: "guidserver"
alias:
- "guid"
binary: "./guidserver"
startupTimeoutSecs: 10
- name: "authserver"
alias:
- "as"
- "auth"
binary: "./authserver"
startupTimeoutSecs: 10
- name: "charserver"
alias:
- "char"
- "c"
binary: "./charserver"
startupTimeoutSecs: 10
- name: "guildserver"
alias:
- "guild"
binary: "./guildserver"
startupTimeoutSecs: 10
- name: "chatserver"
alias:
- "chat"
binary: "./chatserver"
startupTimeoutSecs: 10
- name: "mailserver"
alias:
- "m"
- "mail"
binary: "./mailserver"
startupTimeoutSecs: 10
- name: "groupserver"
alias:
- "group"
- "gr"
binary: "./groupserver"
startupTimeoutSecs: 10
- name: "game-load-balancer"
alias:
- "lb"
- "glb"
- "gamelb"
binary: "./game-load-balancer"
startupTimeoutSecs: 10