fix: 更新数据库和Redis配置
This commit is contained in:
@@ -46,35 +46,33 @@ trace:
|
|||||||
|
|
||||||
# data source
|
# data source
|
||||||
database:
|
database:
|
||||||
|
dataSource:
|
||||||
|
# std: standard
|
||||||
|
std:
|
||||||
|
type: "mysql"
|
||||||
|
host: "127.0.0.1"
|
||||||
|
port: 33066
|
||||||
|
username: "root"
|
||||||
|
password: "1000omc@kp!"
|
||||||
|
database: "omc_db"
|
||||||
|
# lite: lite
|
||||||
|
lite:
|
||||||
|
type: "sqlite"
|
||||||
|
database: "/usr/local/etc/omc/database/omc_db.sqlite"
|
||||||
# default data source name
|
# default data source name
|
||||||
defaultDataSourceName: "std"
|
defaultDataSourceName: "std"
|
||||||
# dataSource:
|
|
||||||
# # std: standard
|
|
||||||
# std:
|
|
||||||
# type: "mysql"
|
|
||||||
# host: "127.0.0.1"
|
|
||||||
# port: 3306
|
|
||||||
# username: "<username>"
|
|
||||||
# password: "<password>"
|
|
||||||
# database: "<database>"
|
|
||||||
# logging: false
|
|
||||||
# # lite: lite
|
|
||||||
# lite:
|
|
||||||
# type: "sqlite"
|
|
||||||
# database: "<database path>"
|
|
||||||
# logging: false
|
|
||||||
|
|
||||||
|
|
||||||
# redis cached data
|
# redis cached data
|
||||||
redis:
|
redis:
|
||||||
|
dataSource:
|
||||||
|
default:
|
||||||
|
port: 6379 # Redis port
|
||||||
|
host: "127.0.0.1" # Redis host
|
||||||
|
password: "helloearth"
|
||||||
|
db: 10 # Redis db_num
|
||||||
# default data source name
|
# default data source name
|
||||||
defaultDataSourceName: "default"
|
defaultDataSourceName: "default"
|
||||||
# dataSource:
|
|
||||||
# default:
|
|
||||||
# port: 6379 # port
|
|
||||||
# host: "127.0.0.1" # host
|
|
||||||
# password: "<password>"
|
|
||||||
# db: 10 # db_num
|
|
||||||
|
|
||||||
|
|
||||||
# file: log file name
|
# file: log file name
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ database:
|
|||||||
std:
|
std:
|
||||||
type: "mysql"
|
type: "mysql"
|
||||||
host: "127.0.0.1"
|
host: "127.0.0.1"
|
||||||
port: 3306
|
port: 33066
|
||||||
username: "root"
|
username: "root"
|
||||||
password: "1000omc@kp!"
|
password: "1000omc@kp!"
|
||||||
database: "omc_db"
|
database: "omc_db"
|
||||||
@@ -44,6 +44,6 @@ redis:
|
|||||||
port: 6379 # Redis port
|
port: 6379 # Redis port
|
||||||
host: "127.0.0.1" # Redis host
|
host: "127.0.0.1" # Redis host
|
||||||
password: "helloearth"
|
password: "helloearth"
|
||||||
db: 0 # Redis db_num
|
db: 10 # Redis db_num
|
||||||
# 多个数据源时可以用这个指定默认的数据源
|
# 多个数据源时可以用这个指定默认的数据源
|
||||||
defaultDataSourceName: "default"
|
defaultDataSourceName: "default"
|
||||||
|
|||||||
@@ -25,6 +25,6 @@ redis:
|
|||||||
port: 6379 # Redis port
|
port: 6379 # Redis port
|
||||||
host: "127.0.0.1" # Redis host
|
host: "127.0.0.1" # Redis host
|
||||||
password: "helloearth"
|
password: "helloearth"
|
||||||
db: 0 # Redis db_num
|
db: 10 # Redis db_num
|
||||||
# 多个数据源时可以用这个指定默认的数据源
|
# 多个数据源时可以用这个指定默认的数据源
|
||||||
defaultDataSourceName: "default"
|
defaultDataSourceName: "default"
|
||||||
|
|||||||
Reference in New Issue
Block a user