diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index fd0d1c8..022e8b0 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -27,7 +27,7 @@ spring: max-request-size: 1GB datasource: druid: - url: jdbc:mysql://192.168.0.103:3306/db_smart_city_usercenter?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true + url: jdbc:mysql://192.168.0.151:3306/db_smart_city_usercenter?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true db-type: mysql driver-class-name: com.mysql.cj.jdbc.Driver username: root @@ -54,10 +54,10 @@ spring: use-global-data-source-stat: true data: mongodb: - uri: mongodb://smartcity:smartcity@192.168.0.103:27017/smartcity + uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity redis: database: 6 - host: 192.168.0.103 + host: 192.168.0.156 port: 6379 password: 666 timeout: 3000ms @@ -68,7 +68,7 @@ spring: max-idle: 8 min-idle: 0 kafka: - bootstrap-servers: 192.168.0.103:9092 + bootstrap-servers: 192.168.0.156:9093 producer: # 写入失败时,重试次数。当leader节点失效,一个repli节点会替代成为leader节点,此时可能出现写入失败, # 当retris为0时,produce不会重复。retirs重发,此时repli节点完全成为leader节点,不会产生消息丢失。 @@ -100,7 +100,7 @@ swagger: base-package-list: ink.wgink,cn.com.tenlion file: - upload-path: C:\Users\wenc0\Desktop\UploadFiles\ + upload-path: C:\Users\TS-QD1\Desktop\UploadFiles\ image-types: png,jpg,jpeg,gif,blob video-types: mp4,rmvb audio-types: mp3,wmv,amr @@ -111,7 +111,7 @@ file: use-min-io: true # 与use-min-io配套使用 min-io: - endpoint: http://192.168.0.103:9900 + endpoint: http://192.168.0.156:19000 access-key: smartcity secret-key: smartcity @@ -167,7 +167,7 @@ open-platform: logging: # enable-api-log: true file: - name: C:\Users\wenc0\Desktop\UploadFiles\logs\usercenter-logs.log + name: C:\Users\TS-QD1\Desktop\UploadFiles\logs\usercenter-logs.log level: root: error org.apache.kafka: error