application-http.properties 21.9 KB
Newer Older
M
MaxKey 已提交
1
############################################################################
M
MaxKey 已提交
2 3 4 5 6 7 8 9 10 11 12 13 14 15
#  Copyright [2021] [MaxKey of copyright http://www.maxkey.top]
#  
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#  
#      http://www.apache.org/licenses/LICENSE-2.0
#  
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
############################################################################
M
MaxKey 已提交
16 17
#spring.profiles.active=http                                               #
############################################################################
M
MaxKey 已提交
18
#server port
M
MaxKey 已提交
19
server.port=8080
M
MaxKey 已提交
20
#session default 1800
M
MaxKey 已提交
21 22
#1800s =30m
#28800s=8h
M
MaxKey 已提交
23
server.servlet.session.timeout=1800
M
MaxKey 已提交
24
#server context path
M
MaxKey 已提交
25
server.servlet.context-path=/maxkey
26 27 28 29
#nacos
spring.cloud.nacos.discovery.enabled=false
spring.cloud.nacos.discovery.instance-enabled=false
spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848
M
MaxKey 已提交
30 31 32 33 34 35 36 37 38 39
############################################################################
#domain name configuration                                                 #
############################################################################
maxkey.server.scheme=http
maxkey.server.basedomain=maxkey.top
maxkey.server.domain=sso.${maxkey.server.basedomain}
maxkey.server.name=${maxkey.server.scheme}://${maxkey.server.domain}
maxkey.server.uri=${maxkey.server.name}/maxkey
#default.uri
maxkey.server.default.uri=${maxkey.server.uri}/maxkey/appList
40 41
maxkey.server.mgt.uri=${maxkey.server.name}:9527/maxkey-mgt/login
maxkey.server.authz.uri=${maxkey.server.name}/maxkey
M
MaxKey 已提交
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
#InMemory 0 , Redis 2 
maxkey.server.persistence=0
#identity
maxkey.identity.kafkasupport=false
#issuer name
maxkey.app.issuer=CN=ConSec,CN=COM,CN=SH
############################################################################
#Login configuration                                                       #
############################################################################
#enable captcha
maxkey.login.captcha=true
#text or arithmetic
maxkey.login.captcha.type=text
#enable two factor,use one time password
maxkey.login.mfa=true
#TimeBasedOtpAuthn MailOtpAuthn SmsOtpAuthnYunxin SmsOtpAuthnAliyun SmsOtpAuthnTencentCloud
maxkey.login.mfa.type=TimeBasedOtpAuthn
#enable social sign on
maxkey.login.socialsignon=true
#social sign on providers
maxkey.login.socialsignon.providers=gitee,wechatopen,sinaweibo,google,qq,dingtalk,microsoft,facebook,workweixin
#Enable kerberos/SPNEGO
maxkey.login.kerberos=true
#wsFederation
maxkey.login.wsfederation=false
#remeberme
maxkey.login.remeberme=true
#validity
maxkey.login.remeberme.validity=0
#to default application web site
maxkey.login.default.uri=/appList
maxkey.ipaddress.whitelist=false
maxkey.notices.visible=false
M
MaxKey 已提交
75 76 77 78 79 80 81 82
############################################################################
#ssl configuration                                                         #
############################################################################
#server.ssl.key-store=maxkeyserver.keystore
#server.ssl.key-alias=maxkey
#server.ssl.enabled=true
#server.ssl.key-store-password=maxkey
#server.ssl.key-store-type=JKS
M
MaxKey 已提交
83

M
MaxKey 已提交
84
############################################################################
M
MaxKey 已提交
85 86 87 88 89
#database configuration 
#   supported database
#       mysql
#       highgo
#       postgresql
M
MaxKey 已提交
90
############################################################################
M
MaxKey 已提交
91 92
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
#mysql
M
MaxKey 已提交
93 94 95 96
spring.datasource.username=root
spring.datasource.password=maxkey
spring.datasource.url=jdbc:mysql://localhost/maxkey?autoReconnect=true&characterEncoding=UTF-8&serverTimezone=UTC
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
M
MaxKey 已提交
97 98 99 100 101 102 103 104 105 106
#highgo
#spring.datasource.username=highgo
#spring.datasource.password=High@123
#spring.datasource.url=jdbc:highgo://192.168.56.107:5866/highgo?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
#spring.datasource.driver-class-name=com.highgo.jdbc.Driver
#postgresql
#spring.datasource.username=root
#spring.datasource.password=maxkey!
#spring.datasource.url=jdbc:postgresql://localhost/maxkey?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
#spring.datasource.driver-class-name=org.postgresql.Driver
M
MaxKey 已提交
107
#mybatis
M
MaxKey 已提交
108
mybatis.dialect=mysql
M
MaxKey 已提交
109
mybatis.type-aliases-package=org.maxkey.entity,org.maxkey.entity.apps,
M
MaxKey 已提交
110
mybatis.mapper-locations=classpath*:/org/maxkey/persistence/mapper/xml/${mybatis.dialect}/*.xml
M
MaxKey 已提交
111 112
mybatis.table-column-snowflake-datacenter-id=1
mybatis.table-column-snowflake-machine-id=1
M
MaxKey 已提交
113 114
mybatis.table-column-escape=false
mybatis.table-column-case=lowercase
M
MaxKey 已提交
115

M
MaxKey 已提交
116 117 118
############################################################################
#redis server  configuration                                               #
############################################################################
119 120 121 122 123 124 125 126
spring.redis.host=127.0.0.1
spring.redis.port=6379
spring.redis.password=password
spring.redis.timeout=10000
spring.redis.jedis.pool.max-wait=1000
spring.redis.jedis.pool.max-idle=200
spring.redis.lettuce.pool.max-active=-1
spring.redis.lettuce.pool.min-idle=0
M
MaxKey 已提交
127

M
MaxKey 已提交
128 129 130
############################################################################
#mail configuration                                                        #
############################################################################
131 132 133 134 135 136 137 138
spring.mail.default-encoding=utf-8
spring.mail.host=smtp.163.com
spring.mail.port=465
spring.mail.username=maxkey@163.com
spring.mail.password=password
spring.mail.protocol=smtp
spring.mail.properties.ssl=true
spring.mail.properties.sender=maxkey@163.com
M
MaxKey 已提交
139 140
spring.mail.properties.mailotp.message.subject=MaxKey One Time PassWord
spring.mail.properties.mailotp.message.template={0} You Token is {1} , it validity in {2}  minutes.
M
http  
MaxKey 已提交
141 142
spring.mail.properties.mailotp.message.type=html
spring.mail.properties.mailotp.message.validity=300
M
MaxKey 已提交
143

M
MaxKey 已提交
144 145 146
############################################################################
#Spring Session for Cluster configuration                                  #
############################################################################
M
MaxKey 已提交
147 148 149 150 151 152 153 154 155 156
# Session store type.
spring.session.store-type=none
#spring.session.store-type=redis
# Session timeout. If a duration suffix is not specified, seconds is used.
#server.servlet.session.timeout=1800
# Sessions flush mode.
#spring.session.redis.flush-mode=on_save 
# Namespace for keys used to store sessions.
#spring.session.redis.namespace=spring:session 

M
MaxKey 已提交
157 158 159
############################################################################
#Kafka for connectors configuration                                        #
############################################################################
M
MaxKey 已提交
160
spring.kafka.bootstrap-servers=localhost:9092
M
http  
MaxKey 已提交
161
# retries
M
MaxKey 已提交
162
spring.kafka.producer.retries=0
M
http  
MaxKey 已提交
163
# acks
M
MaxKey 已提交
164
spring.kafka.producer.acks=1
M
http  
MaxKey 已提交
165
# batch-size
M
MaxKey 已提交
166
spring.kafka.producer.batch-size=16384
M
http  
MaxKey 已提交
167
# linger.ms
M
MaxKey 已提交
168
spring.kafka.producer.properties.linger.ms=0
M
http  
MaxKey 已提交
169
# buffer-memory
M
MaxKey 已提交
170
spring.kafka.producer.buffer-memory = 33554432
M
http  
MaxKey 已提交
171
# serializer
M
MaxKey 已提交
172 173
spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer
spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer
M
http  
MaxKey 已提交
174
# partitioner
M
MaxKey 已提交
175 176
# spring.kafka.producer.properties.partitioner.class=com.felix.kafka.producer.CustomizePartitioner

M
MaxKey 已提交
177
############################################################################ 
M
MaxKey 已提交
178
#SMS Message Login configuration                                           #
M
MaxKey 已提交
179 180 181
#SmsOtpAuthnYunxin SmsOtpAuthnAliyun SmsOtpAuthnTencentCloud               #
############################################################################
#default
M
MaxKey 已提交
182
maxkey.otp.sms=SmsOtpAuthnYunxin
M
MaxKey 已提交
183
#aliyun
M
MaxKey 已提交
184 185 186 187
maxkey.otp.sms.aliyun.accesskeyid=94395d754eb55693043f5d6a2b772ef4
maxkey.otp.sms.aliyun.accesssecret=05d5485357bc
maxkey.otp.sms.aliyun.templatecode=14860095
maxkey.otp.sms.aliyun.signname=maxkey
M
MaxKey 已提交
188
#yunxin
M
MaxKey 已提交
189 190 191
maxkey.otp.sms.yunxin.appkey=94395d754eb55693043f5d6a2b772ef4
maxkey.otp.sms.yunxin.appsecret=05d5485357bc
maxkey.otp.sms.yunxin.templateid=14860095
M
MaxKey 已提交
192
#tencentcloud
M
MaxKey 已提交
193 194 195 196 197 198
maxkey.otp.sms.tencentcloud.secretid=94395d754eb55693043f5d6a2b772ef4
maxkey.otp.sms.tencentcloud.secretkey=05d5485357bc
maxkey.otp.sms.tencentcloud.smssdkappid=1486220095
maxkey.otp.sms.tencentcloud.templateid=14860095
maxkey.otp.sms.tencentcloud.sign=1486009522

M
MaxKey 已提交
199 200 201
############################################################################ 
#Time-based One-Time Password configuration                                #
############################################################################
M
MaxKey 已提交
202 203 204 205 206 207
maxkey.otp.keyuri.format.type=totp
maxkey.otp.keyuri.format.digits=6
maxkey.otp.keyuri.format.issuer=MaxKey
maxkey.otp.keyuri.format.domain=${maxkey.server.domain}
maxkey.otp.keyuri.format.period=30

208
############################################################################ 
M
MaxKey 已提交
209
#LDAP Login support configuration                                          #
210 211 212 213 214 215 216
############################################################################
maxkey.support.ldap.enable=false
maxkey.support.ldap.jit=false
#openldap,activedirectory,normal
maxkey.support.ldap.product=openldap
maxkey.support.ldap.ssl=false
maxkey.support.ldap.providerurl=ldap://localhost:389
M
MaxKey 已提交
217
#openldap  normal
218
maxkey.support.ldap.principal=cn=Manager,dc=maxcrc,dc=com
M
MaxKey 已提交
219 220
#activedirectory
#maxkey.support.ldap.principal=administrator
221 222
maxkey.support.ldap.credentials=secret
maxkey.support.ldap.basedn=dc=maxcrc,dc=com
M
MaxKey 已提交
223 224
#openldap  normal
#maxkey.support.ldap.filter=(uid=%s)
225
maxkey.support.ldap.filter=(uid=%s)
M
MaxKey 已提交
226 227
#activedirectory
#maxkey.support.ldap.filter=(sAMAccountname=%s)
228 229 230 231
maxkey.support.ldap.truststore=maxkey
maxkey.support.ldap.truststorepassword=maxkey
#activedirectory effective
maxkey.support.ldap.activedirectory.domain=MAXKEY.ORG
M
MaxKey 已提交
232

M
MaxKey 已提交
233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256
############################################################################ 
#Kerberos Login configuration                                              #
#short name of user domain must be in upper case,eg:MAXKEY                 #
############################################################################
maxkey.support.kerberos.default.userdomain=MAXKEY
#short name of user domain must be in upper case,eg:MAXKEY.ORG
maxkey.support.kerberos.default.fulluserdomain=MAXKEY.ORG
#last 8Bit crypto for Kerberos web Authentication 
maxkey.support.kerberos.default.crypto=846KZSzYq56M6d5o
#Kerberos Authentication server RUL
maxkey.support.kerberos.default.redirecturi=http://sso.maxkey.top/kerberos/authn/

############################################################################ 
#HTTPHEADER Login configuration                                            #
############################################################################
maxkey.support.httpheader.enable=false
maxkey.support.httpheader.headername=header-user
# iv-user is for IBM Security Access Manager
#config.httpheader.headername=iv-user

############################################################################ 
#BASIC Login support configuration                                         #
############################################################################
maxkey.support.basic.enable=false
M
MaxKey 已提交
257

M
MaxKey 已提交
258
#############################################################################
M
MaxKey 已提交
259
#WsFederation Login support configuration
M
MaxKey 已提交
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
#identifier: the identifer for the ADFS server
#url: the login url for ADFS
#principal: the name of the attribute/assertion returned by ADFS that contains the principal's username.
#relyingParty: the identifier of the CAS Server as it has been configured in ADFS.
#tolerance: (optional) the amount of drift to allow when validating the timestamp on the token. Default: 10000 (ms)
#attributeMutator: (optional) a class (defined by you) that can modify the attributes/assertions returned by the ADFS server
#signingCertificate: ADFS's signing certificate used to validate the token/assertions issued by ADFS.
############################################################################
maxkey.support.wsfederation.identifier=http://adfs.maxkey.top/adfs/services/trust
maxkey.support.wsfederation.url=https://adfs.maxkey.top/adfs/ls/
maxkey.support.wsfederation.principal=upn
maxkey.support.wsfederation.relyingParty=urn:federation:connsec
maxkey.support.wsfederation.signingCertificate=adfs-signing.crt
maxkey.support.wsfederation.tolerance=10000
maxkey.support.wsfederation.upn.suffix=maxkey.org
maxkey.support.wsfederation.logoutUrl=https://adfs.maxkey.top/adfs/ls/?wa=wsignout1.0

#############################################################################
M
MaxKey 已提交
278 279
#OIDC V1.0 METADATA configuration                                           #
#############################################################################
M
MaxKey 已提交
280
maxkey.oidc.metadata.issuer=${maxkey.server.name}/maxkey
M
MaxKey 已提交
281 282
maxkey.oidc.metadata.authorizationEndpoint=${maxkey.server.name}/maxkey/authz/oauth/v20/authorize
maxkey.oidc.metadata.tokenEndpoint=${maxkey.server.name}/maxkey/authz/oauth/v20/token
M
MaxKey 已提交
283 284 285
maxkey.oidc.metadata.userinfoEndpoint=${maxkey.server.name}/maxkey/api/connect/userinfo

#############################################################################
M
MaxKey 已提交
286 287
#SAML V2.0 configuration                                                    #
#############################################################################
M
MaxKey 已提交
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
#saml common
maxkey.saml.v20.max.parser.pool.size=2
maxkey.saml.v20.assertion.validity.time.ins.seconds=90
maxkey.saml.v20.replay.cache.life.in.millis=14400000
maxkey.saml.v20.issue.instant.check.clock.skew.in.seconds=90
maxkey.saml.v20.issue.instant.check.validity.time.in.seconds=300
#saml idp keystore
maxkey.saml.v20.idp.keystore.password=maxkey
maxkey.saml.v20.idp.keystore.private.key.password=maxkey
maxkey.saml.v20.idp.keystore=classpath\:config/samlServerKeystore.jks
#keystore id for sec
maxkey.saml.v20.idp.issuing.entity.id=maxkey.top
maxkey.saml.v20.idp.issuer=https://sso.maxkey.top/maxkey/saml
maxkey.saml.v20.idp.receiver.endpoint=https\://sso.maxkey.top/
#saml sp keystore
maxkey.saml.v20.sp.keystore.password=maxkey
maxkey.saml.v20.sp.keystore.private.key.password=maxkey
maxkey.saml.v20.sp.keystore=classpath\:config/samlClientKeystore.jks
maxkey.saml.v20.sp.issuing.entity.id=client.maxkey.org
#Saml v20 METADATA
maxkey.saml.v20.metadata.orgName=MaxKeyTop
maxkey.saml.v20.metadata.orgDisplayName=MaxKeyTop
maxkey.saml.v20.metadata.orgURL=https://www.maxkey.top
maxkey.saml.v20.metadata.contactType=technical
maxkey.saml.v20.metadata.company=MaxKeyTop
maxkey.saml.v20.metadata.givenName=maxkey
maxkey.saml.v20.metadata.surName=maxkey
maxkey.saml.v20.metadata.emailAddress=maxkeysupport@163.com
maxkey.saml.v20.metadata.telephoneNumber=4008981111

############################################################################
#              Social Sign On Configuration                                #
M
MaxKey 已提交
320
#you config client.id & client.secret only                                 #
M
MaxKey 已提交
321 322 323 324 325 326 327 328
############################################################################
#gitee
maxkey.socialsignon.gitee.provider=gitee
maxkey.socialsignon.gitee.provider.name=Gitee
maxkey.socialsignon.gitee.icon=images/social/gitee.png
maxkey.socialsignon.gitee.client.id=ee6fdc484b3398d17e77d6ff37fd8b9fe502106398c7b22bf5522d3c01303f45
maxkey.socialsignon.gitee.client.secret=d6c3558f295f044df538c966a9084166f9a877c7a7392543184007a5faccdbad
maxkey.socialsignon.gitee.account.id=id
329
maxkey.socialsignon.gitee.hidden=false
M
MaxKey 已提交
330 331 332 333 334 335 336 337
maxkey.socialsignon.gitee.sortorder=1
#wechat
maxkey.socialsignon.wechatopen.provider=wechatopen
maxkey.socialsignon.wechatopen.provider.name=\u5fae\u4fe1
maxkey.socialsignon.wechatopen.icon=images/social/wechat.png
maxkey.socialsignon.wechatopen.client.id=ee6fdc484b3398d17e7
maxkey.socialsignon.wechatopen.client.secret=7a5faccdbad
maxkey.socialsignon.wechatopen.account.id=id
338
maxkey.socialsignon.wechatopen.hidden=false
M
MaxKey 已提交
339
maxkey.socialsignon.wechatopen.sortorder=2
M
MaxKey 已提交
340 341 342 343 344 345 346 347
#work weixin
maxkey.socialsignon.workweixin.provider=workweixin
maxkey.socialsignon.workweixin.provider.name=\u4F01\u4E1A\u5fae\u4fe1
maxkey.socialsignon.workweixin.icon=images/social/wechat.png
maxkey.socialsignon.workweixin.client.id=wx00d052e8f417f8f9
maxkey.socialsignon.workweixin.client.secret=lIy40iP0z4D65eJaWDNoe-vSlttmqY2WGJBygbM0TlY
maxkey.socialsignon.workweixin.agent.id=1000002
maxkey.socialsignon.workweixin.account.id=id
348
maxkey.socialsignon.workweixin.hidden=true
M
MaxKey 已提交
349
maxkey.socialsignon.workweixin.sortorder=2
M
MaxKey 已提交
350 351 352 353 354 355 356
#sina weibo
maxkey.socialsignon.sinaweibo.provider=sinaweibo
maxkey.socialsignon.sinaweibo.provider.name=\u65b0\u6d6a\u5fae\u535a
maxkey.socialsignon.sinaweibo.icon=images/social/weibo.png
maxkey.socialsignon.sinaweibo.client.id=3379757634
maxkey.socialsignon.sinaweibo.client.secret=1adfdf9800299037bcab9d1c238664ba
maxkey.socialsignon.sinaweibo.account.id=id
357
maxkey.socialsignon.sinaweibo.hidden=false
M
MaxKey 已提交
358 359 360 361 362 363 364 365
maxkey.socialsignon.sinaweibo.sortorder=3
#Google
maxkey.socialsignon.google.provider=google
maxkey.socialsignon.google.provider.name=Google
maxkey.socialsignon.google.icon=images/social/google.png
maxkey.socialsignon.google.client.id=519914515488.apps.googleusercontent.com
maxkey.socialsignon.google.client.secret=3aTW3Iw7e11QqMnHxciCaXTt
maxkey.socialsignon.google.account.id=id
366
maxkey.socialsignon.google.hidden=false
M
MaxKey 已提交
367 368 369 370 371 372 373 374
maxkey.socialsignon.google.sortorder=4
#dingtalk
maxkey.socialsignon.dingtalk.provider=dingtalk
maxkey.socialsignon.dingtalk.provider.name=dingtalk
maxkey.socialsignon.dingtalk.icon=images/social/dingtalk.png
maxkey.socialsignon.dingtalk.client.id=dingoawf2jyiwh2uzqnphg
maxkey.socialsignon.dingtalk.client.secret=Crm7YJbMKfRlvG2i1SHpg4GHVpqF_oXiEjhmRQyiSiuzNRWpbFh9i0UjDTfhOoN9
maxkey.socialsignon.dingtalk.account.id=openid
375
maxkey.socialsignon.dingtalk.hidden=false
M
MaxKey 已提交
376 377 378 379 380 381 382 383
maxkey.socialsignon.dingtalk.sortorder=5
#QQ
maxkey.socialsignon.qq.provider=qq
maxkey.socialsignon.qq.provider.name=QQ
maxkey.socialsignon.qq.icon=images/social/qq.png
maxkey.socialsignon.qq.client.id=101225363
maxkey.socialsignon.qq.client.secret=8577d75e0eb4a91ac549cc8be3371bfd
maxkey.socialsignon.qq.account.id=openid
384
maxkey.socialsignon.qq.hidden=false
M
MaxKey 已提交
385 386 387 388 389 390 391 392
maxkey.socialsignon.qq.sortorder=6
#Microsoft
maxkey.socialsignon.microsoft.provider=microsoft
maxkey.socialsignon.microsoft.provider.name=Microsoft
maxkey.socialsignon.microsoft.icon=images/social/microsoft.png
maxkey.socialsignon.microsoft.client.id=24aa73b6-7928-4e64-bd64-d8682e650f95
maxkey.socialsignon.microsoft.client.secret=PF[_AthtjVrtWVO2mNy@CJxY1@Z8FNf5
maxkey.socialsignon.microsoft.account.id=id
393
maxkey.socialsignon.microsoft.hidden=false
M
MaxKey 已提交
394 395 396 397 398 399 400 401
maxkey.socialsignon.microsoft.sortorder=7
#facebook
maxkey.socialsignon.facebook.provider=facebook
maxkey.socialsignon.facebook.provider.name=facebook
maxkey.socialsignon.facebook.icon=images/social/facebook.png
maxkey.socialsignon.facebook.client.id=appKey
maxkey.socialsignon.facebook.client.secret=appSecret
maxkey.socialsignon.facebook.account.id=id
402
maxkey.socialsignon.facebook.hidden=false
M
MaxKey 已提交
403
maxkey.socialsignon.facebook.sortorder=8
M
MaxKey 已提交
404

M
MaxKey 已提交
405 406 407 408 409 410 411 412 413 414 415 416 417
############################################################################
#Management endpoints configuration                                        #
############################################################################
management.security.enabled=false
#management.endpoints.jmx.exposure.include=health,info
#management.endpoints.web.exposure.include=metrics,health,info,env
management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=ALWAYS
#Spring Boot Admin Client
spring.application.name=maxkey
spring.boot.admin.client.url=http://127.0.0.1:9528
management.health.redis.enabled: false

M
MaxKey 已提交
418 419 420 421 422 423 424
############################################################################
#springfox.documentation.swagger.v2.path=/api-docs                         #
#Swagger Configure Properties                                              #
############################################################################
maxkey.swagger.enable=true
maxkey.swagger.title=MaxKey\u5355\u70b9\u767b\u5f55\u8ba4\u8bc1\u7cfb\u7edfapi\u6587\u6863
maxkey.swagger.description=MaxKey\u5355\u70b9\u767b\u5f55\u8ba4\u8bc1\u7cfb\u7edfapi\u6587\u6863
M
MaxKey 已提交
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465
maxkey.swagger.version=${application.formatted-version}

############################################################################
#freemarker configuration                                                  #
############################################################################
spring.freemarker.template-loader-path=classpath:/templates/views
spring.freemarker.cache=false
spring.freemarker.charset=UTF-8
spring.freemarker.check-template-location=true
spring.freemarker.content-type=text/html
spring.freemarker.expose-request-attributes=false
spring.freemarker.expose-session-attributes=false
spring.freemarker.request-context-attribute=request
spring.freemarker.suffix=.ftl

############################################################################
#static resources configuration                                            #
############################################################################
spring.mvc.static-path-pattern=/static/**
spring.messages.basename=classpath:messages/message
spring.messages.encoding=UTF-8

############################################################################
#server servlet encoding configuration                                     #
############################################################################
#encoding
#server.servlet.encoding.charset=UTF-8
#server.servlet.encoding.enabled=true
#server.servlet.encoding.force=true

############################################################################
#Servlet multipart configuration                                           #
############################################################################
spring.servlet.multipart.enabled=true
spring.servlet.multipart.max-file-size=4194304

############################################################################
#Main.banner-mode configuration                                            #
############################################################################
spring.main.banner-mode=log
spring.main.allow-bean-definition-overriding=true