刘洪青 | 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 | |
刘洪青 | dedcdf7 | 2019-09-05 13:47:27 +0800 | [diff] [blame] | 30 | spring: |
| 31 | jackson: |
| 32 | time-zone: ${JACKSON_TIME_ZONE:Asia/Shanghai} |
| 33 | |
| 34 | |
| 35 | ## |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 36 | # online-doc |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 37 | # |
| 38 | infras.online-doc.enabled: ${INFRAS_ONLINE_DOC_ENABLED:false} |
| 39 | infras.online-doc.md-docs.staitc.path: ${INFRAS_ONLINE_DOC_MD_DOCS_STATIC_PATH:/doc/} |
| 40 | infras.online-doc.api-docs.staitc.path: ${INFRAS_ONLINE_DOC_API_DOCS_STATIC_PATH:/api-docs/} |
| 41 | |
| 42 | |
| 43 | ## |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 44 | # server url for feign |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 45 | # |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 46 | sw-backend-base-api: |
| 47 | uri: ${SW_BACKEND_BASE_API_URI:https://sw-backend-admin-sa} |
| 48 | client-auth: |
| 49 | enabled: ${SW_BACKEND_BASE_API_CLIENT_AUTH_ENABLED:true} |
| 50 | key-password: ${SW_BACKEND_BASE_API_CLIENT_AUTH_KEY_PASSWORD:} |
| 51 | key-store: ${SW_BACKEND_BASE_API_CLIENT_AUTH_KEYSTORE_FILE:file:/certs/common/common.keystore} |
| 52 | key-store-password: ${SW_BACKEND_BASE_API_CLIENT_AUTH_KEYSTORE_PASSWORD:} |
| 53 | trust-store: ${SW_BACKEND_BASE_API_CLIENT_AUTH_TRUSTSTORE_FILE:file:/certs/common/common.truststore} |
| 54 | trust-store-password: ${SW_BACKEND_BASE_API_CLIENT_AUTH_TRUSTSTORE_PASSWORD:} |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 55 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 56 | sw-backend-system-api: |
| 57 | uri: ${SW_BACKEND_SYSTEM_API_URI:https://sw-backend-admin-sa} |
| 58 | client-auth: |
| 59 | enabled: ${SW_BACKEND_SYSTEM_API_CLIENT_AUTH_ENABLED:true} |
| 60 | key-password: ${SW_BACKEND_SYSTEM_API_CLIENT_AUTH_KEY_PASSWORD:} |
| 61 | key-store: ${SW_BACKEND_SYSTEM_API_CLIENT_AUTH_KEYSTORE_FILE:file:/certs/common/common.keystore} |
| 62 | key-store-password: ${SW_BACKEND_SYSTEM_API_CLIENT_AUTH_KEYSTORE_PASSWORD:} |
| 63 | trust-store: ${SW_BACKEND_SYSTEM_API_CLIENT_AUTH_TRUSTSTORE_FILE:file:/certs/common/common.truststore} |
| 64 | trust-store-password: ${SW_BACKEND_SYSTEM_API_CLIENT_AUTH_TRUSTSTORE_PASSWORD:} |
刘洪青 | e071d36 | 2019-08-16 09:39:49 +0800 | [diff] [blame] | 65 | |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 66 | sw-backend-biz-api: |
刘洪青 | 9050bb2 | 2019-09-20 12:32:07 +0800 | [diff] [blame] | 67 | uri: ${SW_BACKEND_BIZ_API_URI:https://sw-backend-biz-sa} |
刘洪青 | 51768cb | 2019-09-08 10:06:17 +0800 | [diff] [blame] | 68 | client-auth: |
| 69 | enabled: ${SW_BACKEND_BIZ_API_CLIENT_AUTH_ENABLED:true} |
| 70 | key-password: ${SW_BACKEND_BIZ_API_CLIENT_AUTH_KEY_PASSWORD:} |
| 71 | key-store: ${SW_BACKEND_BIZ_API_CLIENT_AUTH_KEYSTORE_FILE:file:/certs/common/common.keystore} |
| 72 | key-store-password: ${SW_BACKEND_BIZ_API_CLIENT_AUTH_KEYSTORE_PASSWORD:} |
| 73 | trust-store: ${SW_BACKEND_BIZ_API_CLIENT_AUTH_TRUSTSTORE_FILE:file:/certs/common/common.truststore} |
| 74 | trust-store-password: ${SW_BACKEND_BIZ_API_CLIENT_AUTH_TRUSTSTORE_PASSWORD:} |