chore: 默认配置信息
This commit is contained in:
@@ -11,7 +11,7 @@ logger:
|
|||||||
|
|
||||||
pprof:
|
pprof:
|
||||||
enabled: true
|
enabled: true
|
||||||
addr: :36060
|
addr: :33060
|
||||||
|
|
||||||
# rest agent listen ipv4/v6 and port, support multiple routines
|
# rest agent listen ipv4/v6 and port, support multiple routines
|
||||||
# ip: 0.0.0.0 or ::0, support IPv4/v6
|
# ip: 0.0.0.0 or ::0, support IPv4/v6
|
||||||
@@ -38,9 +38,9 @@ webServer:
|
|||||||
database:
|
database:
|
||||||
type: mysql
|
type: mysql
|
||||||
user: root
|
user: root
|
||||||
password: "root@1234"
|
password: "1000omc@kp!"
|
||||||
host: "192.168.8.58"
|
host: "192.168.8.58"
|
||||||
port: 3306
|
port: 33066
|
||||||
name: "omc_db"
|
name: "omc_db"
|
||||||
connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True
|
connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True
|
||||||
backup: d:/local.git/be.ems/restagent/database
|
backup: d:/local.git/be.ems/restagent/database
|
||||||
@@ -52,11 +52,11 @@ redis:
|
|||||||
default:
|
default:
|
||||||
port: 6379 # Redis port
|
port: 6379 # Redis port
|
||||||
host: "192.168.8.58" # Redis host
|
host: "192.168.8.58" # Redis host
|
||||||
password: "redis@1234"
|
password: "helloearth"
|
||||||
db: 10 # Redis db_num
|
db: 10 # Redis db_num
|
||||||
# UDM网元用户库
|
# UDM网元用户库
|
||||||
udmuser:
|
udmuser:
|
||||||
port: 36379 # Redis port
|
port: 6379 # Redis port
|
||||||
host: "192.168.8.58"
|
host: "192.168.8.58"
|
||||||
password: "helloearth"
|
password: "helloearth"
|
||||||
db: 0 # Redis db_num
|
db: 0 # Redis db_num
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
# 应用服务配置
|
# 应用服务配置
|
||||||
server:
|
server:
|
||||||
port: 3040
|
port: 33040
|
||||||
proxy: true
|
proxy: true
|
||||||
|
|
||||||
# 日志
|
# 日志
|
||||||
logger:
|
logger:
|
||||||
fileDir: "C:/usr/local/omc/log"
|
fileDir: "C:/var/log"
|
||||||
level: 0 # 输出最低等级
|
level: 0 # 输出最低等级
|
||||||
|
|
||||||
# 静态文件配置, 相对项目根路径或填绝对路径
|
# 静态文件配置, 相对项目根路径或填绝对路径
|
||||||
@@ -28,11 +28,11 @@ gorm:
|
|||||||
dataSource:
|
dataSource:
|
||||||
default:
|
default:
|
||||||
type: "mysql"
|
type: "mysql"
|
||||||
host: "192.168.0.229"
|
host: "127.0.0.1"
|
||||||
port: 33066
|
port: 33066
|
||||||
username: "root"
|
username: "root"
|
||||||
password: "1000omc@kp!"
|
password: "1000omc@kp!"
|
||||||
database: "omc_db_dev"
|
database: "omc_db"
|
||||||
logging: true
|
logging: true
|
||||||
|
|
||||||
# Redis 缓存数据,数据源声明全小写
|
# Redis 缓存数据,数据源声明全小写
|
||||||
@@ -41,14 +41,14 @@ redis:
|
|||||||
# OMC系统使用库
|
# OMC系统使用库
|
||||||
default:
|
default:
|
||||||
port: 6379 # Redis port
|
port: 6379 # Redis port
|
||||||
host: "192.168.0.229" # Redis host
|
host: "127.0.0.1" # Redis host
|
||||||
password: ""
|
password: "helloearth"
|
||||||
db: 10 # Redis db_num
|
db: 10 # Redis db_num
|
||||||
# UDM网元用户库
|
# UDM网元用户库
|
||||||
udmuser:
|
udmuser:
|
||||||
port: 6379 # Redis port
|
port: 6379 # Redis port
|
||||||
host: "192.168.0.229"
|
host: "127.0.0.1"
|
||||||
password: ""
|
password: "helloearth"
|
||||||
db: 0 # Redis db_num
|
db: 0 # Redis db_num
|
||||||
# 多个数据源时可以用这个指定默认的数据源
|
# 多个数据源时可以用这个指定默认的数据源
|
||||||
defaultDataSourceName: "default"
|
defaultDataSourceName: "default"
|
||||||
|
|||||||
Reference in New Issue
Block a user