移除配置文件

This commit is contained in:
liwei 2022-09-22 10:07:55 +08:00
parent f7f89a24e8
commit 58031a6a38
4 changed files with 0 additions and 232 deletions

View File

@ -1,45 +0,0 @@
id : "gateway_1" #服务的唯一id 在集群服务下不能重复即可 建议配置文件名与服务id一致
ip : "127.0.0.1" #运行主机Ip 集群通信中 按ip节点通行的查询字段 此字段可以注释掉 注释后取当前运行主机公网ip地址
port : 9567 #服务监听端口 RPC服务
tag : "df01" #服务集群标签 相同标签 且sys.registry 和 sys.rpc 配置一致 即可互相发现和通信
type : "gateway" #服务类型 相同服务类型相同 如 多个login 服务 相同服务多开 服务类型一致
category : "BusinessService" #服务类别 例如 网关服务器 或者 游戏服务器 以及普通业务服务器
version : 1.0 #服务版本 多服务器相同的服务类型 高版本比低版本拥有更高的访问优先级 使用场景 热更新机制
#系统配置
sys:
log: #日志系统
FileName: "./log/gateway_1.log" #日志文件存放地址
Loglevel: 5 #日志文件输出级别
MaxAgeTime: 7 #日志文件最多保留天数
IsDebug: true #是否开发模式
rpcx: #rpcx 系统配置
Debug: true
RpcxStartType: 1 #0 服务端 1是客户端
ConsulServers: ["10.0.0.9:10012"]
db: #存储系统
Loacl:
Enabled: true #是否生效
RedisIsCluster: false #是否是集群
RedisAddr: ["10.0.0.9:10011"]
RedisPassword: "li13451234"
RedisDB: 1
MongodbUrl: "mongodb://10.0.0.9:10013"
MongodbDatabase: "dreamfactory1"
Cross:
Enabled: true #是否生效
RedisIsCluster: false #是否是集群
RedisAddr: ["10.0.0.9:10011"]
RedisPassword: "li13451234"
RedisDB: 2
MongodbUrl: "mongodb://10.0.0.9:10013"
MongodbDatabase: "dreamfactory2"
configure: #存储系统
ConfigurePath: "./json"
#模块配置
modules:
gateway:
ListenPort: 7891
SpanServiceTag: "dfcross" #服务服务集群
Debug: true

View File

@ -1,47 +0,0 @@
id : "mainte" #服务的唯一id 在集群服务下不能重复即可 建议配置文件名与服务id一致
ip : "127.0.0.1" #运行主机Ip 集群通信中 按ip节点通行的查询字段 此字段可以注释掉 注释后取当前运行主机公网ip地址
port : 9568 #服务监听端口 RPC服务
tag : "df01" #服务集群标签 相同标签 且sys.registry 和 sys.rpc 配置一致 即可互相发现和通信
type : "mainte" #服务类型 相同服务类型相同 如 多个login 服务 相同服务多开 服务类型一致
category : "BusinessService" #服务类别 例如 网关服务器 或者 游戏服务器 以及普通业务服务器
version : 1.0 #服务版本 多服务器相同的服务类型 高版本比低版本拥有更高的访问优先级 使用场景 热更新机制
#系统配置
sys:
log: #日志系统
FileName: "./log/mainte.log" #日志文件存放地址
Loglevel: 5 #日志文件输出级别
MaxAgeTime: 7 #日志文件最多保留天数
IsDebug: true #是否开发模式
rpcx: #rpcx 系统配置
RpcxStartType: 0 #启动rpc服务端模式
ConsulServers: ["10.0.0.9:10012"]
db: #存储系统
Loacl:
Enabled: true #是否生效
RedisIsCluster: false #是否是集群
RedisAddr: ["10.0.0.9:10011"]
RedisPassword: "li13451234"
RedisDB: 1
MongodbUrl: "mongodb://10.0.0.9:10013"
MongodbDatabase: "dreamfactory1"
Cross:
Enabled: true #是否生效
RedisIsCluster: false #是否是集群
RedisAddr: ["10.0.0.9:10011"]
RedisPassword: "li13451234"
RedisDB: 2
MongodbUrl: "mongodb://10.0.0.9:10013"
MongodbDatabase: "dreamfactory2"
configure: #存储系统
ConfigurePath: "./json"
#模块配置
modules:
dbservice:
Debug: true
web:
Debug: true
WebDir: "./dist"
Port: 8000
Key: "@234%67g12q4*67m12#4l67!"
WebDir: "./dist"

View File

@ -1,71 +0,0 @@
id : "worker_1" #服务的唯一id 在集群服务下不能重复即可 建议配置文件名与服务id一致
ip : "127.0.0.1" #运行主机Ip 集群通信中 按ip节点通行的查询字段 此字段可以注释掉 注释后取当前运行主机公网ip地址
port : 9569 #服务监听端口 RPC服务
tag : "df01" #服务集群标签 相同标签 且sys.registry 和 sys.rpc 配置一致 即可互相发现和通信
type : "worker" #服务类型 相同服务类型相同 如 多个login 服务 相同服务多开 服务类型一致
category : "BusinessService" #服务类别 例如 网关服务器 或者 游戏服务器 以及普通业务服务器
version : 1.0 #服务版本 多服务器相同的服务类型 高版本比低版本拥有更高的访问优先级 使用场景 热更新机制
comps:
SC_GateRouteComp:
Debug: true
#系统配置
sys:
log: #日志系统
FileName: "./log/worker_1.log" #日志文件存放地址
Loglevel: 5 #日志文件输出级别
MaxAgeTime: 7 #日志文件最多保留天数
IsDebug: true #是否开发模式
rpcx: #rpcx 系统配置
Debug: true
RpcxStartType: 0 #启动rpc服务端模式
ConsulServers: ["10.0.0.9:10012"]
db: #存储系统
Loacl:
Enabled: true #是否生效
RedisIsCluster: false #是否是集群
RedisAddr: ["10.0.0.9:10011"]
RedisPassword: "li13451234"
RedisDB: 1
MongodbUrl: "mongodb://10.0.0.9:10013"
MongodbDatabase: "dreamfactory1"
Cross:
Enabled: true #是否生效
RedisIsCluster: false #是否是集群
RedisAddr: ["10.0.0.9:10011"]
RedisPassword: "li13451234"
RedisDB: 2
MongodbUrl: "mongodb://10.0.0.9:10013"
MongodbDatabase: "dreamfactory2"
configure: #存储系统
ConfigurePath: "./json"
#模块配置
modules:
modules:
user:
Debug: true
pack:
Debug: true
mail:
Debug: true
friend:
Debug: true
equipment:
Debug: true
hero:
Debug: true
forum:
Debug: true
items:
Debug: true
shop:
Debug: true
task:
Debug: true
story:
Debug: true
notify:
Debug: true
chat:
Debug: true
GM: true

View File

@ -1,69 +0,0 @@
id : "worker_cross_1" #服务的唯一id 在集群服务下不能重复即可 建议配置文件名与服务id一致
ip : "127.0.0.1" #运行主机Ip 集群通信中 按ip节点通行的查询字段 此字段可以注释掉 注释后取当前运行主机公网ip地址
port : 9570 #服务监听端口 RPC服务
tag : "dfcross" #服务集群标签 相同标签 且sys.registry 和 sys.rpc 配置一致 即可互相发现和通信
type : "worker" #服务类型 相同服务类型相同 如 多个login 服务 相同服务多开 服务类型一致
category : "BusinessService" #服务类别 例如 网关服务器 或者 游戏服务器 以及普通业务服务器
version : 1.0 #服务版本 多服务器相同的服务类型 高版本比低版本拥有更高的访问优先级 使用场景 热更新机制
comps:
SC_GateRouteComp:
Debug: true
#系统配置
sys:
log: #日志系统
FileName: "./log/worker_cross_1.log" #日志文件存放地址
Loglevel: 5 #日志文件输出级别
MaxAgeTime: 7 #日志文件最多保留天数
IsDebug: true #是否开发模式
rpcx: #rpcx 系统配置
Debug: true
RpcxStartType: 0 #启动rpc服务端模式
ConsulServers: ["10.0.0.9:10012"]
db: #存储系统
Loacl:
Enabled: true #是否生效
RedisIsCluster: false #是否是集群
RedisAddr: ["10.0.0.910011"]
RedisPassword: "li13451234"
RedisDB: 2
MongodbUrl: "mongodb://10.0.0.9:10013"
MongodbDatabase: "dreamfactory2"
ServerList:
df01: #1 区
Enabled: true #是否生效
RedisIsCluster: false #是否是集群
RedisAddr: ["10.0.0.9:10011"]
RedisPassword: "li13451234"
RedisDB: 1
MongodbUrl: "mongodb://10.0.0.9:10013"
MongodbDatabase: "dreamfactory1"
configure: #存储系统
ConfigurePath: "./json"
#模块配置
modules:
modules:
user:
Debug: true
pack:
Debug: true
mail:
Debug: true
friend:
Debug: true
equipment:
Debug: true
hero:
Debug: true
forum:
Debug: true
items:
Debug: true
shop:
Debug: true
task:
Debug: true
story:
Debug: true
notify:
Debug: true