From 26edb25801f8073d33a03e150c734f355ecea121 Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期一, 18 八月 2025 16:50:39 +0800 Subject: [PATCH] 基础配置更改 --- ruoyi-admin/src/main/resources/application.yml.example | 39 +++++++++++++-------------------------- 1 files changed, 13 insertions(+), 26 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml.example b/ruoyi-admin/src/main/resources/application.yml.example index 367b61c..6d4220e 100644 --- a/ruoyi-admin/src/main/resources/application.yml.example +++ b/ruoyi-admin/src/main/resources/application.yml.example @@ -7,7 +7,7 @@ # 鐗堟潈骞翠唤 copyrightYear: 2025 # 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/ruoyi/uploadPath锛孡inux閰嶇疆 /home/ruoyi/uploadPath锛� - profile: D:/ruoyi/uploadPath + profile: D:/Backup/妗岄潰/download # 鑾峰彇ip鍦板潃寮�鍏� addressEnabled: false # 楠岃瘉鐮佺被鍨� math 鏁板瓧璁$畻 char 瀛楃楠岃瘉 @@ -16,7 +16,7 @@ # 寮�鍙戠幆澧冮厤缃� server: # 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080 - port: 8081 + port: 7016 servlet: # 搴旂敤鐨勮闂矾寰� context-path: / @@ -52,7 +52,7 @@ # 鍥介檯鍖栬祫婧愭枃浠惰矾寰� basename: i18n/messages profiles: - active: druid + active: docker # 鏂囦欢涓婁紶 servlet: multipart: @@ -65,29 +65,16 @@ restart: # 鐑儴缃插紑鍏� enabled: false - data: - # redis 閰嶇疆 - redis: - # 鍦板潃 - host: localhost - # 绔彛锛岄粯璁や负6379 - port: 6379 - # 鏁版嵁搴撶储寮� - database: 0 - # 瀵嗙爜 - password: - # 杩炴帴瓒呮椂鏃堕棿 - timeout: 10s - lettuce: - pool: - # 杩炴帴姹犱腑鐨勬渶灏忕┖闂茶繛鎺� - min-idle: 0 - # 杩炴帴姹犱腑鐨勬渶澶х┖闂茶繛鎺� - max-idle: 8 - # 杩炴帴姹犵殑鏈�澶ф暟鎹簱杩炴帴鏁� - max-active: 8 - # #杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級 - max-wait: -1ms + + flyway: + enabled: true + baseline-on-migrate: true + baseline-version: 20230720000000 + clean-disabled: true + out-of-order: true + #鎸囧畾sql鏂囦欢璺緞 + locations: + - classpath:db/migration/postgresql # token閰嶇疆 token: -- Gitblit v1.9.3