Commit bd6bc5a5eaccf2efae293750b098422de8eb2c79

Authored by sunninghai
1 parent c61d5211

mysql 修改

Showing 1 changed file with 6 additions and 6 deletions
order-service.yml
@@ -122,7 +122,7 @@ ribbon: @@ -122,7 +122,7 @@ ribbon:
122 122
123 --- 123 ---
124 server: 124 server:
125 - port: 16300 125 + port: 16400
126 126
127 spring: 127 spring:
128 profiles: test 128 profiles: test
@@ -239,7 +239,7 @@ apiConfig: @@ -239,7 +239,7 @@ apiConfig:
239 gxbApiUrl: http://gxb-api:8080/gxb-api 239 gxbApiUrl: http://gxb-api:8080/gxb-api
240 --- 240 ---
241 server: 241 server:
242 - port: 16300 242 + port: 16400
243 243
244 spring: 244 spring:
245 profiles: production 245 profiles: production
@@ -250,7 +250,7 @@ spring: @@ -250,7 +250,7 @@ spring:
250 coreDatasource: 250 coreDatasource:
251 write: 251 write:
252 name: gxb_core 252 name: gxb_core
253 - url: jdbc:mysql://emysql3:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true 253 + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
254 username: postgres 254 username: postgres
255 password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) 255 password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a)
256 driver-class-name: com.mysql.jdbc.Driver 256 driver-class-name: com.mysql.jdbc.Driver
@@ -264,7 +264,7 @@ spring: @@ -264,7 +264,7 @@ spring:
264 test-while-idle: true 264 test-while-idle: true
265 read1: 265 read1:
266 name: gxb_core 266 name: gxb_core
267 - url: jdbc:mysql://db3:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true 267 + url: jdbc:mysql://db-slave.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
268 username: postgres 268 username: postgres
269 password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) 269 password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a)
270 driver-class-name: com.mysql.jdbc.Driver 270 driver-class-name: com.mysql.jdbc.Driver
@@ -279,7 +279,7 @@ spring: @@ -279,7 +279,7 @@ spring:
279 279
280 secondDatasource: 280 secondDatasource:
281 name: gxb_core 281 name: gxb_core
282 - url: jdbc:mysql://emysql3:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8 282 + url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8
283 username: postgres 283 username: postgres
284 password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) 284 password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a)
285 driver-class-name: com.mysql.jdbc.Driver 285 driver-class-name: com.mysql.jdbc.Driver
@@ -293,7 +293,7 @@ spring: @@ -293,7 +293,7 @@ spring:
293 test-while-idle: true 293 test-while-idle: true
294 redis: 294 redis:
295 database: 0 295 database: 0
296 - host: redis1 296 + host: gxb-app-20180706.redis.rds.aliyuncs.com
297 port: 6379 297 port: 6379
298 password: ENC(c2bcc076c4c1dc27436226f3af749fb5b444d4973bb049848ff3c98517dec050) 298 password: ENC(c2bcc076c4c1dc27436226f3af749fb5b444d4973bb049848ff3c98517dec050)
299 pool: 299 pool: