blob: 394e32946d8924dfad5bb07e4aefd6f32047b033 [file] [log] [blame]
server:
port: ${SERVER_PORT:8443}
ssl:
enabled: ${SSL_ENABLED:true}
clientAuth: NEED
key-store: ${SSL_KEYSTORE_FILE:file:/certs/server/server.keystore}
key-store-password: ${SSL_KEYSTORE_PASSWORD:}
trust-store: ${SSL_TRUSTSTORE_FILE:file:/certs/server/server.truststore}
trust-store-password: ${SSL_TRUSTSTORE_PASSWORD:}
tomcat:
accesslog:
enabled: ${TOMCAT_ACCESSLOG_ENABLED:false}
buffered: ${TOMCAT_ACCESSLOG_BUFFERED:true}
directory: ${TOMCAT_ACCESSLOG_DIR:log}
prefix: ${TOMCAT_ACCESSLOG_PREFIX:sa-api-accesslog}
suffix: ${TOMCAT_ACCESSLOG_SUFFIX:.log}
file-date-format: ${TOMCAT_ACCESSLOG_FILE_DATE_FORMAT:.yyyy-MM-dd}
rotate: ${TOMCAT_ACCESSLOG_ROTATE:true}
##
# logging
#
logging:
level:
root: INFO
com.supwisdom: INFO
##
# infras.online-doc
#
infras.online-doc.enabled: ${INFRAS_ONLINE_DOC_ENABLED:false}
infras.online-doc.md-docs.staitc.path: ${INFRAS_ONLINE_DOC_MD_DOCS_STATIC_PATH:/doc/}
infras.online-doc.api-docs.staitc.path: ${INFRAS_ONLINE_DOC_API_DOCS_STATIC_PATH:/api-docs/}
##
# infras.security basic
#
infras.security.basic.enabled: ${INFRAS_SECURITY_BASIC_ENABLED:true}
##
# infras.security jwt
#
infras.security.jwt.enabled: ${INFRAS_SECURITY_JWT_ENABLED:false}
infras.security.jwt.public-key-pem: ${INFRAS_SECURITY_JWT_PUBLIC_KEY_PEM:}
infras.security.jwt.private-key-pem-pkcs8: ${INFRAS_SECURITY_JWT_PRIVATE_KEY_PEM_PKCS8:}
##
# infras.security cas
#
infras.security.cas.enabled: ${INFRAS_SECURITY_CAS_ENABLED:false}
#应用访问地址
app.server.host.url: ${APP_SERVER_HOST_URL:https://localhost:8443}
#应用登录地址
app.login.url: ${APP_LOGIN_URL:/cas/login}
#应用登出地址
app.logout.url: ${APP_LOGOUT_URL:/cas/logout}
#CAS服务地址
cas.server.host.url: ${CAS_SERVER_HOST_URL:https://cas-server/cas}