Browse Source

rpm 数据库

hexiao 1 year ago
parent
commit
e0cf026642
1 changed files with 13 additions and 13 deletions
  1. 13 13
      rpm/src/main/resources/application.yml

+ 13 - 13
rpm/src/main/resources/application.yml

@@ -4,15 +4,15 @@ server:
     maxHttpHeaderSize: 102400
 log:
     file:
-        path: /home/dc/logs
+        path: /data/service/DC-SERVICE/dc/logs
         name: rpm.log
-# 文件导入       
+# 文件导入
 import:
     file:
 #        path: D:\\import\\
 #        url: http://10.199.20.210:8888/import/
 #        path: /data/dyqd_app4/server-sr/import/
-        path: /home/dc/import/
+        path: /data/service/DC-SERVICE/dc/import/
         url: http://10.199.10.10:9950/import/
 
 #datasource:
@@ -20,26 +20,26 @@ import:
 #    username: dyqd_dc
 #    password: Datau$dc19
 datasource:
-    url: 124.70.58.209:1122/dc_test
-    username: admin
-    password: 106aD>>ql95K5S
+    url: 124.70.58.209:18806/dc
+    username: root
+    password: 123.asd
 ###############常用配置项###############
 spring:
     cloud:
-        loadbalancer: 
-            retry: 
+        loadbalancer:
+            retry:
                 enabled: true
     application:
         name: rpm
 # 修改默认的静态资源存放目录
-    resources: 
+    resources:
         static-locations: file:${import.file.path}
-    jmx: 
+    jmx:
         enabled: false
-    jackson: 
-        date-format: yyyy-MM-dd HH:mm:ss 
+    jackson:
+        date-format: yyyy-MM-dd HH:mm:ss
         time-zone: GMT+8
-    datasource: 
+    datasource:
         type: com.alibaba.druid.pool.DruidDataSource
         driverClassName: com.mysql.jdbc.Driver
         url: jdbc:mysql://${datasource.url}?characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true