Commit bd6bc5a5eaccf2efae293750b098422de8eb2c79
1 parent
c61d5211
mysql 修改
Showing
1 changed file
with
6 additions
and
6 deletions
order-service.yml
| ... | ... | @@ -122,7 +122,7 @@ ribbon: |
| 122 | 122 | |
| 123 | 123 | --- |
| 124 | 124 | server: |
| 125 | - port: 16300 | |
| 125 | + port: 16400 | |
| 126 | 126 | |
| 127 | 127 | spring: |
| 128 | 128 | profiles: test |
| ... | ... | @@ -239,7 +239,7 @@ apiConfig: |
| 239 | 239 | gxbApiUrl: http://gxb-api:8080/gxb-api |
| 240 | 240 | --- |
| 241 | 241 | server: |
| 242 | - port: 16300 | |
| 242 | + port: 16400 | |
| 243 | 243 | |
| 244 | 244 | spring: |
| 245 | 245 | profiles: production |
| ... | ... | @@ -250,7 +250,7 @@ spring: |
| 250 | 250 | coreDatasource: |
| 251 | 251 | write: |
| 252 | 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 | 254 | username: postgres |
| 255 | 255 | password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) |
| 256 | 256 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -264,7 +264,7 @@ spring: |
| 264 | 264 | test-while-idle: true |
| 265 | 265 | read1: |
| 266 | 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 | 268 | username: postgres |
| 269 | 269 | password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) |
| 270 | 270 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -279,7 +279,7 @@ spring: |
| 279 | 279 | |
| 280 | 280 | secondDatasource: |
| 281 | 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 | 283 | username: postgres |
| 284 | 284 | password: ENC(d1b95542f58fbfb0e823af8f3974b1bda84f2dc413e5ec6bc9566bb3aa950a2be59ecaaf2ed5eb3a4b4101fcf299419a) |
| 285 | 285 | driver-class-name: com.mysql.jdbc.Driver |
| ... | ... | @@ -293,7 +293,7 @@ spring: |
| 293 | 293 | test-while-idle: true |
| 294 | 294 | redis: |
| 295 | 295 | database: 0 |
| 296 | - host: redis1 | |
| 296 | + host: gxb-app-20180706.redis.rds.aliyuncs.com | |
| 297 | 297 | port: 6379 |
| 298 | 298 | password: ENC(c2bcc076c4c1dc27436226f3af749fb5b444d4973bb049848ff3c98517dec050) |
| 299 | 299 | pool: | ... | ... |