刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 1 | server: |
| 2 | port: ${SERVER_PORT:8443} |
| 3 | ssl: |
| 4 | enabled: ${SSL_ENABLED:true} |
| 5 | clientAuth: NEED |
| 6 | key-store: ${SSL_KEYSTORE_FILE:file:/certs/server/server.keystore} |
| 7 | key-store-password: ${SSL_KEYSTORE_PASSWORD:} |
| 8 | trust-store: ${SSL_TRUSTSTORE_FILE:file:/certs/server/server.truststore} |
| 9 | trust-store-password: ${SSL_TRUSTSTORE_PASSWORD:} |
| 10 | tomcat: |
| 11 | accesslog: |
| 12 | enabled: ${TOMCAT_ACCESSLOG_ENABLED:false} |
| 13 | buffered: ${TOMCAT_ACCESSLOG_BUFFERED:true} |
| 14 | directory: ${TOMCAT_ACCESSLOG_DIR:log} |
| 15 | prefix: ${TOMCAT_ACCESSLOG_PREFIX:sa-api-accesslog} |
| 16 | suffix: ${TOMCAT_ACCESSLOG_SUFFIX:.log} |
| 17 | file-date-format: ${TOMCAT_ACCESSLOG_FILE_DATE_FORMAT:.yyyy-MM-dd} |
| 18 | rotate: ${TOMCAT_ACCESSLOG_ROTATE:true} |
| 19 | |
| 20 | |
| 21 | ## |
| 22 | # logging |
| 23 | # |
| 24 | logging: |
| 25 | level: |
| 26 | root: INFO |
| 27 | com.supwisdom: INFO |
| 28 | |
| 29 | |
| 30 | ## |
| 31 | # infras.online-doc |
| 32 | # |
| 33 | infras.online-doc.enabled: ${INFRAS_ONLINE_DOC_ENABLED:false} |
| 34 | infras.online-doc.md-docs.staitc.path: ${INFRAS_ONLINE_DOC_MD_DOCS_STATIC_PATH:/doc/} |
| 35 | infras.online-doc.api-docs.staitc.path: ${INFRAS_ONLINE_DOC_API_DOCS_STATIC_PATH:/api-docs/} |
| 36 | |
| 37 | |
| 38 | ## |
| 39 | # infras.security basic |
| 40 | # |
| 41 | infras.security.basic.enabled: ${INFRAS_SECURITY_BASIC_ENABLED:true} |
| 42 | |
| 43 | |
| 44 | ## |
| 45 | # infras.security jwt |
| 46 | # |
| 47 | infras.security.jwt.enabled: ${INFRAS_SECURITY_JWT_ENABLED:false} |
| 48 | |
| 49 | infras.security.jwt.public-key-pem: ${INFRAS_SECURITY_JWT_PUBLIC_KEY_PEM:} |
| 50 | infras.security.jwt.private-key-pem-pkcs8: ${INFRAS_SECURITY_JWT_PRIVATE_KEY_PEM_PKCS8:} |
| 51 | |
| 52 | |
| 53 | ## |
| 54 | # infras.security cas |
| 55 | # |
| 56 | infras.security.cas.enabled: ${INFRAS_SECURITY_CAS_ENABLED:false} |
| 57 | |
| 58 | #应用访问地址 |
| 59 | app.server.host.url: ${APP_SERVER_HOST_URL:https://localhost:8443} |
| 60 | #应用登录地址 |
| 61 | app.login.url: ${APP_LOGIN_URL:/cas/login} |
| 62 | #应用登出地址 |
| 63 | app.logout.url: ${APP_LOGOUT_URL:/cas/logout} |
| 64 | |
| 65 | #CAS服务地址 |
| 66 | cas.server.host.url: ${CAS_SERVER_HOST_URL:https://cas-server/cas} |