Browse Source

改配置

dzk 1 year ago
parent
commit
00ed61412e
2 changed files with 13 additions and 13 deletions
  1. 2 2
      .run/bailian-admin.run.xml
  2. 11 11
      ruoyi-admin/src/main/resources/application-prod.yml

+ 2 - 2
.run/bailian-admin.run.xml

@@ -1,5 +1,5 @@
 <component name="ProjectRunConfigurationManager">
-  <configuration default="false" name="bailian-admin" type="docker-deploy" factoryName="dockerfile" server-name="192.168.0.14">
+  <configuration default="false" name="bailian-admin" type="docker-deploy" factoryName="dockerfile" server-name="172.16.118.13">
     <deployment type="dockerfile">
       <settings>
         <option name="imageTag" value="bailian-admin:4.8.0" />
@@ -34,4 +34,4 @@
     </deployment>
     <method v="2" />
   </configuration>
-</component>
+</component>

+ 11 - 11
ruoyi-admin/src/main/resources/application-prod.yml

@@ -1,7 +1,7 @@
 --- # 临时文件存储位置 避免临时文件被系统清理报错
 spring.servlet.multipart.location: /ruoyi/server/temp
 server:
-  port: 8080
+  port: 8081
   servlet:
     # 应用的访问路径
     context-path: /jzyx
@@ -19,11 +19,11 @@ spring.boot.admin.client:
 --- # xxl-job 配置
 xxl.job:
   # 执行器开关
-  enabled: true
+  enabled: false
   # 调度中心地址:如调度中心集群部署存在多个地址则用逗号分隔。
   admin-addresses: http://192.168.0.26:8080/xxl-job-admin
   # 执行器通讯TOKEN:非空时启用
-  access-token: tokenixuemtuoekpjmixhddlhzssuquvvlxya
+  access-token:
   executor:
     # 执行器AppName:执行器心跳注册分组依据;为空则关闭自动注册
     appname: benyun-bailian
@@ -62,13 +62,13 @@ spring:
           password: LongX@321
 
         # 从库数据源
-        slave:
-          lazy: true
-          type: ${spring.datasource.type}
-          driverClassName: com.mysql.cj.jdbc.Driver
-          url: jdbc:mysql://192.168.0.31:3306/bailian-ai-plus?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
-          username: root
-          password: LongX@321
+#        slave:
+#          lazy: true
+#          type: ${spring.datasource.type}
+#          driverClassName: com.mysql.cj.jdbc.Driver
+#          url: jdbc:mysql://172.16.118.1:3306/bailian-ai-plus?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
+#          username: root
+#          password: LongX@321
 #        oracle:
 #          type: ${spring.datasource.type}
 #          driverClassName: oracle.jdbc.OracleDriver
@@ -114,7 +114,7 @@ spring:
     # 数据库索引
     database: 12
     # 密码(如没有密码请注释掉)
-    password: lsf@12345
+    password: LongX@321
     # 连接超时时间
     timeout: 10s
     # 是否开启ssl