|
@@ -5,14 +5,14 @@ server:
|
|
|
log:
|
|
|
file:
|
|
|
# path: C:\workspace\logs
|
|
|
- path: /home/dc/logs
|
|
|
+ path: /data/service/DC-SERVICE/dc/logs
|
|
|
name: appshow.log
|
|
|
-# 文件导入
|
|
|
+# 文件导入
|
|
|
import:
|
|
|
file:
|
|
|
# path: D:\\import\\
|
|
|
# url: http://10.199.20.210:8888/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:
|
|
|
+ application:
|
|
|
name: appshow
|
|
|
# 修改默认的静态资源存放目录
|
|
|
- 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
|