mirror of
https://github.com/luoye663/e5.git
synced 2024-12-25 19:28:49 +00:00
删除配置文件中敏感配置
This commit is contained in:
parent
577607dcb6
commit
56c7fe58d0
126
src/main/resources/application-online.properties
Normal file
126
src/main/resources/application-online.properties
Normal file
@ -0,0 +1,126 @@
|
|||||||
|
server.port= 8081
|
||||||
|
|
||||||
|
# ???????false?????????
|
||||||
|
isdebug=true
|
||||||
|
# ????github_id
|
||||||
|
user.admin.githubId=10000000
|
||||||
|
# token???
|
||||||
|
user.token.expire=3600
|
||||||
|
#server.servlet.session.tracking-modes=
|
||||||
|
|
||||||
|
#logging.config=classpath:log4j2.xml
|
||||||
|
#???????
|
||||||
|
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||||
|
#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/e5?charset=utf8mb4&useSSL=false&serverTimezone=GMT
|
||||||
|
#spring.datasource.username=root
|
||||||
|
#spring.datasource.password=123456
|
||||||
|
|
||||||
|
# ??????
|
||||||
|
#??????????????,?????master
|
||||||
|
spring.datasource.dynamic.primary=master
|
||||||
|
#???????,??false. true?????????????,false???????
|
||||||
|
spring.datasource.dynamic.strict=false
|
||||||
|
spring.datasource.dynamic.datasource.master.url=jdbc:mysql://127.0.0.1:3306/e5?charset=utf8mb4&useSSL=false&serverTimezone=GMT
|
||||||
|
spring.datasource.dynamic.datasource.master.username=root
|
||||||
|
spring.datasource.dynamic.datasource.master.password=123456
|
||||||
|
spring.datasource.dynamic.datasource.master.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||||
|
|
||||||
|
#AUTO_SERVER_PORT=9092; ????
|
||||||
|
#spring.datasource.dynamic.datasource.h2.url=jdbc:h2:./db/db;DATABASE_TO_LOWER=TRUE;AUTO_SERVER=TRUE;USER=sa;PASSWORD=sa;
|
||||||
|
#spring.datasource.dynamic.datasource.h2.username=root
|
||||||
|
#spring.datasource.dynamic.datasource.h2.password=123456
|
||||||
|
#spring.datasource.dynamic.datasource.h2.driver-class-name=org.h2.Driver
|
||||||
|
|
||||||
|
#spring.datasource.dynamic.datasource.td.url=jdbc:TAOS-RS://192.168.1.201:6041/e5/e5?timezone=Asia/Beijing&charset=utf-8
|
||||||
|
#spring.datasource.dynamic.datasource.td.username=root
|
||||||
|
#spring.datasource.dynamic.datasource.td.password=taosdata
|
||||||
|
#spring.datasource.dynamic.datasource.td.driver-class-name=com.taosdata.jdbc.rs.RestfulDriver
|
||||||
|
|
||||||
|
|
||||||
|
#spring.datasource.dynamic.datasource.slave_2.url=ENC(xxxxx)
|
||||||
|
#spring.datasource.dynamic.datasource.slave_2.username=ENC(xxxxx)
|
||||||
|
#spring.datasource.dynamic.datasource.slave_2.password=ENC(xxxxx)
|
||||||
|
#spring.datasource.dynamic.datasource.slave_2.driver-class-name=com.mysql.jdbc.Driver
|
||||||
|
|
||||||
|
#influx2
|
||||||
|
spring.influx.url=http://127.0.0.1:8086
|
||||||
|
spring.influx.token=HquxNXwOyfgW-f8wzkSUuBz0tswWiFPsTbEnr5jKFS3BY3RcKezDdQF0o5yeoNfaiwQUJhy8YJSIUrVrWSQn8Q==
|
||||||
|
spring.influx.org=luoye
|
||||||
|
spring.influx.bucket =e5
|
||||||
|
|
||||||
|
|
||||||
|
#h2
|
||||||
|
spring.h2.console.path=/h2
|
||||||
|
spring.h2.console.enabled=true
|
||||||
|
spring.h2.console.settings.web-allow-others=true
|
||||||
|
#mybatis-plus
|
||||||
|
#mybatis-plus????????????SQL??
|
||||||
|
#mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
||||||
|
mapper-locations=classpath:/mapper/**.xml
|
||||||
|
|
||||||
|
|
||||||
|
# ??????
|
||||||
|
web.static.filtrate=/js/**,/css/**,/images/**,/fonts/**,/lib/**,/authority_error,/favicon.ico,/**.ico,/error,/admin/getDebugAdminToken
|
||||||
|
web.security.admin=/admin/**,/**,/auth2/**,/outlookLog/**,/outlook/**,/getUserReplyUrlToOutlook
|
||||||
|
web.security.user=/user/**,/outlook/**,/auth2/**,/outlookLog/**,/getUserReplyUrlToOutlook
|
||||||
|
web.security.role_anonymous = /auth2/**,/getAnnouncement
|
||||||
|
|
||||||
|
# Redis
|
||||||
|
#Redis?????
|
||||||
|
spring.redis.host=127.0.0.1
|
||||||
|
#Redis???????
|
||||||
|
spring.redis.port=6379
|
||||||
|
# Redis?????????????
|
||||||
|
spring.redis.password=
|
||||||
|
#Redis?????????0?
|
||||||
|
spring.redis.database=1
|
||||||
|
#????????????????????
|
||||||
|
spring.redis.jedis.pool.max-active=50
|
||||||
|
#???????????????????????
|
||||||
|
spring.redis.jedis.pool.max-wait=3000
|
||||||
|
#???????????
|
||||||
|
spring.redis.jedis.pool.max-idle=20
|
||||||
|
#???????????
|
||||||
|
spring.redis.jedis.pool.min-idle=5
|
||||||
|
#??????????
|
||||||
|
spring.redis.timeout=4000
|
||||||
|
|
||||||
|
#?? confirm ????
|
||||||
|
#spring.rabbitmq.publisher-confirms=true
|
||||||
|
#?? return ????
|
||||||
|
spring.rabbitmq.publisher-returns=true
|
||||||
|
#??? true ? ?????????????????????return??????????
|
||||||
|
spring.rabbitmq.template.mandatory=true
|
||||||
|
|
||||||
|
# ??????
|
||||||
|
page.size = 10
|
||||||
|
# ???
|
||||||
|
qz_cron = 0/20 * * * * ?
|
||||||
|
|
||||||
|
#Redis??Token?????
|
||||||
|
#redis.userhead=user.token:
|
||||||
|
redis.auth2.github=github.state:
|
||||||
|
redis.auth2.outlook=outlook.state:
|
||||||
|
redis.user.token=token:
|
||||||
|
|
||||||
|
github.client_id=
|
||||||
|
github.client_secret=
|
||||||
|
github.replyUrl=https://e5.qyi.io/auth2/receive
|
||||||
|
github.replyUrlDebug=http://localhost:4200/auth2/receive
|
||||||
|
|
||||||
|
outlook.authorize.url = https://login.microsoftonline.com/%s/oauth2/v2.0/authorize?client_id=%s&redirect_uri=%s&response_type=code&scope=openid offline_access Mail.Read&state=%s
|
||||||
|
outlook.errorMsg = CompactToken validation, Access token has expired, Access token validation failure
|
||||||
|
|
||||||
|
outlook.replyUrl=https://e5.qyi.io/outlook/auth2/%s/receive
|
||||||
|
outlook.replyUrlDebug=http://localhost:4200/outlook/auth2/%s/receive
|
||||||
|
|
||||||
|
# ??????
|
||||||
|
outlook.error.countMax=3
|
||||||
|
# ??txt
|
||||||
|
announcement=classpath:announcement.txt
|
||||||
|
# debug????
|
||||||
|
user.admin.debug.passwd=123456
|
||||||
|
# ?????????
|
||||||
|
e5.system.threadPool=100
|
||||||
|
e5.system.maximumPoolSize=100
|
||||||
|
e5.system.blockingQueueSize=5120
|
Loading…
Reference in New Issue
Block a user