From bf524f808c9cc1a43305604503ef2fab4e7332c7 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Sun, 4 Feb 2024 11:09:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=98=E5=8E=9F=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- restagent/etc/restconf.yaml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/restagent/etc/restconf.yaml b/restagent/etc/restconf.yaml index 6f4d4ede..4d42455e 100644 --- a/restagent/etc/restconf.yaml +++ b/restagent/etc/restconf.yaml @@ -26,7 +26,7 @@ rest: keyFile: ./etc/certs/omc-server.key webServer: - enabled: false + enabled: true rootDir: d:/local.git/fe.ems.vue3/dist listen: - addr: :80 @@ -41,14 +41,11 @@ webServer: database: type: mysql user: root - # password: 1000omc@kp! - # host: "192.168.8.103" - # port: 33066 + password: 1000omc@kp! + host: 127.0.0.1 + port: 33066 name: omc_db backup: d:/local.git/ems.agt/restagent/database - password: "root@1234" - host: "192.168.5.59" - port: 3306 # Redis 缓存数据,数据源声明全小写 redis: @@ -56,14 +53,14 @@ redis: # OMC系统使用库 default: port: 6379 # Redis port - host: "192.168.5.59" # Redis host - password: "redis@1234" + host: "192.168.2.219" # Redis host + password: "123456" db: 10 # Redis db_num # UDM网元用户库 udmuser: port: 6379 # Redis port - host: "192.168.13.140" - password: "" + host: "192.168.2.219" + password: "123456" db: 0 # Redis db_num # 多个数据源时可以用这个指定默认的数据源 defaultDataSourceName: "default" @@ -81,7 +78,7 @@ mml: # NE config ne: - user: agtuser + user: root etcdir: /usr/local/etc bindir: /usr/local/bin omcdir: /usr/local/omc