chore: 默认配置信息
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user