|
@@ -1,5 +1,5 @@
|
|
|
############################################################################
|
|
|
-# Copyright [2021] [MaxKey of copyright http://www.maxkey.top]
|
|
|
+# Copyright [2022] [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.
|
|
@@ -32,7 +32,7 @@ maxkey.server.default.uri =${maxkey.server.uri}/main
|
|
|
maxkey.server.mgt.uri =${maxkey.server.uri}
|
|
|
maxkey.server.authz.uri =https://${maxkey.server.domain}/maxkey
|
|
|
#InMemory 0 , Redis 2
|
|
|
-maxkey.server.persistence =0
|
|
|
+maxkey.server.persistence =${SERVER_PERSISTENCE:0}
|
|
|
#identity true,false
|
|
|
maxkey.server.provision =${SERVER_PROVISION:false}
|
|
|
|
|
@@ -190,13 +190,14 @@ management.security.enabled =false
|
|
|
#management.endpoints.web.exposure.include=metrics,health,info,env,prometheus
|
|
|
management.endpoints.web.exposure.include =*
|
|
|
management.endpoint.health.show-details =ALWAYS
|
|
|
+management.health.redis.enabled =false
|
|
|
+management.health.mail.enabled =false
|
|
|
+
|
|
|
#Spring Boot Admin Client
|
|
|
spring.boot.admin.client.enabled =${SPRING_BOOT_ADMIN_ENABLED:false}
|
|
|
spring.boot.admin.client.url =${SPRING_BOOT_ADMIN_URL:http://127.0.0.1:9528}
|
|
|
spring.boot.admin.client.username =${SPRING_BOOT_ADMIN_USERNAME:}
|
|
|
spring.boot.admin.client.password =${SPRING_BOOT_ADMIN_PASSWORD:}
|
|
|
-management.health.redis.enabled =false
|
|
|
-management.health.mail.enabled =false
|
|
|
|
|
|
############################################################################
|
|
|
#Do not modify the following configuration
|