From 8adbdee9d95a25717dbd6f88218de16fd34c9fdb Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 12 八月 2021 11:37:12 +0800 Subject: [PATCH] remove 移除无用配置 --- ruoyi-admin/src/main/resources/application-prod.yml | 29 +++++++++++------------------ 1 files changed, 11 insertions(+), 18 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-prod.yml b/ruoyi-admin/src/main/resources/application-prod.yml index 7cb17c8..bfc11f7 100644 --- a/ruoyi-admin/src/main/resources/application-prod.yml +++ b/ruoyi-admin/src/main/resources/application-prod.yml @@ -4,7 +4,9 @@ type: com.alibaba.druid.pool.DruidDataSource # 鍔ㄦ�佹暟鎹簮鏂囨。 https://www.kancloud.cn/tracy5546/dynamic-datasource/content dynamic: - #璁剧疆榛樿鐨勬暟鎹簮鎴栬�呮暟鎹簮缁�,榛樿鍊煎嵆涓� master + # 鎬ц兘鍒嗘瀽鎻掍欢(鏈夋�ц兘鎹熻�� 涓嶅缓璁敓浜х幆澧冧娇鐢�) + p6spy: false + # 璁剧疆榛樿鐨勬暟鎹簮鎴栬�呮暟鎹簮缁�,榛樿鍊煎嵆涓� master primary: master datasource: # 涓诲簱鏁版嵁婧� @@ -42,6 +44,10 @@ testOnReturn: false # 娉ㄦ剰杩欎釜鍊煎拰druid鍘熺敓涓嶄竴鑷达紝榛樿鍚姩浜唖tat filters: stat + +--- # druid 閰嶇疆 +spring: + datasource: druid: webStatFilter: enabled: true @@ -63,7 +69,9 @@ wall: config: multi-statement-allow: true - # redis 閰嶇疆 + +--- # redis 閰嶇疆 +spring: redis: # 鍦板潃 host: 172.30.0.48 @@ -78,7 +86,6 @@ # 鏄惁寮�鍚痵sl ssl: false ---- # redisson 瀹㈡埛绔厤缃� redisson: # 绾跨▼姹犳暟閲� threads: 16 @@ -124,25 +131,11 @@ username: ruoyi password: 123456 -# Actuator 鐩戞帶绔偣鐨勯厤缃」 -management: - endpoints: - web: - # Actuator 鎻愪緵鐨� API 鎺ュ彛鐨勬牴鐩綍銆傞粯璁や负 /actuator - base-path: /actuator - exposure: - # 闇�瑕佸紑鏀剧殑绔偣銆傞粯璁ゅ�煎彧鎵撳紑 health 鍜� info 涓や釜绔偣銆傞�氳繃璁剧疆 * 锛屽彲浠ュ紑鏀炬墍鏈夌鐐广�� - # 鐢熶骇鐜涓嶅缓璁斁寮�鎵�鏈� 鏍规嵁椤圭洰闇�姹傛斁寮�鍗冲彲 - include: health,info - endpoint: - logfile: - external-file: ./logs/sys-console.log - --- # OSS 浜戝瓨鍌�(鐣岄潰 <鍙傛暟璁剧疆> 鍙垏鎹�) cloud-storage: # minio閰嶇疆 minio: - endpoint: http://172.30.0.54:9000 + endpoint: http://鏈嶅姟鍣╥p:9000 accessKey: ruoyi secretKey: ruoyi123 bucketName: ruoyi -- Gitblit v1.9.3