소스 검색

:memo: 更新生产环境

Twelve615 1 년 전
부모
커밋
88af2a9cfc
3개의 변경된 파일14개의 추가작업 그리고 13개의 파일을 삭제
  1. 2 1
      jlsb-vue/.env.development
  2. 1 1
      jlsb-vue/.env.production
  3. 11 11
      jlsb/jeecg-boot-module-system/src/main/resources/application-prod.yml

+ 2 - 1
jlsb-vue/.env.development

@@ -1,5 +1,6 @@
 NODE_ENV=development
-VUE_APP_API_BASE_URL=http://localhost:9999/
+# VUE_APP_API_BASE_URL=http://localhost:9999/
+VUE_APP_API_BASE_URL=http://120.79.86.50:9999/
 VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
 VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
 

+ 1 - 1
jlsb-vue/.env.production

@@ -1,4 +1,4 @@
 NODE_ENV=production
-VUE_APP_API_BASE_URL=http://8.134.179.70:9999/
+VUE_APP_API_BASE_URL=http://127.0.0.1:9999/
 VUE_APP_CAS_BASE_URL=http://127.0.0.1:8888/cas
 VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview

+ 11 - 11
jlsb/jeecg-boot-module-system/src/main/resources/application-prod.yml

@@ -14,7 +14,7 @@ server:
     min-response-size: 1024
     mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
   system:
-    host: https://admin.jinlery.cn
+    host: http://www.bruboses.com
 
 management:
   endpoints:
@@ -137,9 +137,9 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
         master:
-          url: jdbc:mysql://8.134.179.70:3306/jlsb?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-          username: jlsb
-          password: ehnkyX7LYYiCYTyj
+          url: jdbc:mysql://127.0.0.1:3306/bruboses?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+          username: bruboses
+          password: mRhwWPmEbkRPn2yr
           driver-class-name: com.mysql.cj.jdbc.Driver
           # 多数据源配置
   #        multi-datasource1:
@@ -150,7 +150,7 @@ spring:
   #redis 配置
   redis:
     database: 0
-    host: 8.134.179.70
+    host: 120.26.90.253
     lettuce:
       pool:
         max-active: 8   #最大连接数据库连接数,设 -1 为没有限制
@@ -158,7 +158,7 @@ spring:
         max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
         min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
       shutdown-timeout: 100ms
-    password: 'jlsb'
+    password: 'bruboses2023'
     port: 6379
 #  redis:
 #    database: 0
@@ -202,9 +202,9 @@ jeecg :
   uploadType: local
   path :
     #文件上传根目录 设置
-    upload: /www/wwwroot/babosi_shoubiao/jlsbTempFile
+    upload: /www/wwwroot/www.bruboses.com/brubosesTempFile
     #webapp文件路径
-    webapp: /www/wwwroot/babosi_shoubiao/jlsbTempFile
+    webapp: /www/wwwroot/www.bruboses.com/brubosesTempFile
   shiro:
     excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
   #阿里云oss存储和大鱼短信秘钥配置
@@ -291,9 +291,9 @@ knife4j:
   #开启生产环境屏蔽
   production: false
   basic:
-    enable: false
-    username: jeecg
-    password: jeecg1314
+    enable: true
+    username: bbs
+    password: bbs@2024!
 #第三方登录
 justauth:
   enabled: true