From 742d815b3cba9e3553a556908fe54a6323eabf91 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 9 Aug 2024 20:01:37 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=BB=98=E8=AE=A4=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- restagent/etc/restconf.yaml | 10 +++++----- src/framework/config/config/config.local.yaml | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/restagent/etc/restconf.yaml b/restagent/etc/restconf.yaml index 0875d7b8..420e5695 100644 --- a/restagent/etc/restconf.yaml +++ b/restagent/etc/restconf.yaml @@ -11,7 +11,7 @@ logger: pprof: enabled: true - addr: :36060 + addr: :33060 # rest agent listen ipv4/v6 and port, support multiple routines # ip: 0.0.0.0 or ::0, support IPv4/v6 @@ -38,9 +38,9 @@ webServer: database: type: mysql user: root - password: "root@1234" + password: "1000omc@kp!" host: "192.168.8.58" - port: 3306 + port: 33066 name: "omc_db" connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True backup: d:/local.git/be.ems/restagent/database @@ -52,11 +52,11 @@ redis: default: port: 6379 # Redis port host: "192.168.8.58" # Redis host - password: "redis@1234" + password: "helloearth" db: 10 # Redis db_num # UDM网元用户库 udmuser: - port: 36379 # Redis port + port: 6379 # Redis port host: "192.168.8.58" password: "helloearth" db: 0 # Redis db_num diff --git a/src/framework/config/config/config.local.yaml b/src/framework/config/config/config.local.yaml index e5af4178..b1358bea 100644 --- a/src/framework/config/config/config.local.yaml +++ b/src/framework/config/config/config.local.yaml @@ -1,11 +1,11 @@ # 应用服务配置 server: - port: 3040 + port: 33040 proxy: true # 日志 logger: - fileDir: "C:/usr/local/omc/log" + fileDir: "C:/var/log" level: 0 # 输出最低等级 # 静态文件配置, 相对项目根路径或填绝对路径 @@ -28,11 +28,11 @@ gorm: dataSource: default: type: "mysql" - host: "192.168.0.229" + host: "127.0.0.1" port: 33066 username: "root" password: "1000omc@kp!" - database: "omc_db_dev" + database: "omc_db" logging: true # Redis 缓存数据,数据源声明全小写 @@ -41,14 +41,14 @@ redis: # OMC系统使用库 default: port: 6379 # Redis port - host: "192.168.0.229" # Redis host - password: "" + host: "127.0.0.1" # Redis host + password: "helloearth" db: 10 # Redis db_num # UDM网元用户库 udmuser: port: 6379 # Redis port - host: "192.168.0.229" - password: "" + host: "127.0.0.1" + password: "helloearth" db: 0 # Redis db_num # 多个数据源时可以用这个指定默认的数据源 defaultDataSourceName: "default"