Commit 14d5bf3c LN

备份数据库默认配置为 172.16.10.19

1 个父辈 e83348ed
...@@ -13,6 +13,13 @@ spring: ...@@ -13,6 +13,13 @@ spring:
port: 27017 # 端口 port: 27017 # 端口
database: smf # 数据库 database: smf # 数据库
#备份数据库配置
backup-mongodb:
host: 172.16.10.19
port: 27017
database: smf
maxConSize: 100
minConsize: 50
#jwt #jwt
jwt: jwt:
header: Authorization header: Authorization
......
...@@ -29,7 +29,15 @@ spring: ...@@ -29,7 +29,15 @@ spring:
auto-index-creation: true # 默认为false,即不会自动创建索引 auto-index-creation: true # 默认为false,即不会自动创建索引
host: localhost # 主机地址 host: localhost # 主机地址
port: 27017 # 端口 port: 27017 # 端口
database: smf # 数据库 database: smf # 数据库
#备份数据库配置
backup-mongodb:
host: 172.16.10.19
port: 27017
database: smf
maxConSize: 100
minConsize: 50
messages: messages:
encoding: utf-8 encoding: utf-8
main: main:
...@@ -47,4 +55,5 @@ app: ...@@ -47,4 +55,5 @@ app:
menu: menu:
show: show:
hide: hide:
onlyReport: false
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!