Commit 0a17f93f41d4118f10f401394e00e9e076add708
1 parent
e8429ef1
2022年9月18日09:28:34 修改配置文件
Showing
4 changed files
with
14 additions
and
11 deletions
fw-dalaran-server/src/main/resources/application-dev.yml
fw-dalaran-server/src/main/resources/application-local.yml
... | ... | @@ -13,7 +13,8 @@ spring: |
13 | 13 | application: |
14 | 14 | name: fw-dalaran-local |
15 | 15 | rocketmq: |
16 | - name-server: 192.168.0.230:9876 | |
16 | +# name-server: 192.168.0.230:9876 | |
17 | + name-server: 172.26.154.169:9876 | |
17 | 18 | producer: |
18 | 19 | group: ${spring.application.name} |
19 | 20 | name-srv-addr: 192.168.0.230:9876 | ... | ... |
fw-dalaran-server/src/main/resources/application-test.yml
... | ... | @@ -8,11 +8,12 @@ spring: |
8 | 8 | version: 1.0 |
9 | 9 | namespace: 0ba6d5d6-2a49-4086-b6c3-dbeec01c61a4 |
10 | 10 | datasource: |
11 | - url: jdbc:mysql://192.168.0.9:3306/fw_dalaran?characterEncoding=UTF-8&useSSL=false | |
11 | + url: jdbc:mysql://172.26.154.169:3302/fw_dalaran?characterEncoding=UTF-8&useSSL=false | |
12 | 12 | username: test |
13 | 13 | password: mysql@pwd123 |
14 | 14 | redis: |
15 | - host: 192.168.0.9 | |
15 | + host: 172.26.154.169 | |
16 | + port: 6378 | |
16 | 17 | password: fw@test@redis |
17 | 18 | url: |
18 | 19 | http-file-url: https://testgate.feewee.cn/file |
... | ... | @@ -22,7 +23,7 @@ nacos: |
22 | 23 | namespace: 0ba6d5d6-2a49-4086-b6b3-dbeec01c61a4 |
23 | 24 | |
24 | 25 | rocketmq: |
25 | - name-server: 192.168.0.230:9876 | |
26 | + name-server: 172.26.154.169:9876 | |
26 | 27 | producer: |
27 | 28 | group: ${spring.application.name} |
28 | 29 | name-srv-addr: 192.168.0.230:9876 |
... | ... | @@ -40,7 +41,8 @@ fastdfs: |
40 | 41 | |
41 | 42 | jedis: |
42 | 43 | pool: |
43 | - host: 192.168.0.9 | |
44 | + host: 172.26.154.169 | |
45 | + port: 6378 | |
44 | 46 | password: fw@test@redis |
45 | 47 | logging: |
46 | 48 | file: | ... | ... |
fw-dalaran-server/src/main/resources/application.yml
... | ... | @@ -12,7 +12,7 @@ spring: |
12 | 12 | cloud: |
13 | 13 | nacos: |
14 | 14 | discovery: |
15 | - server-addr: 192.168.0.230:8848 | |
15 | + server-addr: 172.26.154.169:8848 | |
16 | 16 | datasource: |
17 | 17 | driver-class-name: com.mysql.jdbc.Driver |
18 | 18 | hikari: |
... | ... | @@ -20,7 +20,7 @@ spring: |
20 | 20 | # url: jdbc:mysql://192.168.0.8:3306/fw_dalaran?characterEncoding=UTF-8&useSSL=false |
21 | 21 | # username: root |
22 | 22 | # password: mysql@pwd123 |
23 | - url: jdbc:mysql://192.168.0.9:3306/fw_dalaran?characterEncoding=UTF-8&useSSL=false | |
23 | + url: jdbc:mysql://172.26.154.169:3302/fw_dalaran?characterEncoding=UTF-8&useSSL=false | |
24 | 24 | username: test |
25 | 25 | password: mysql@pwd123 |
26 | 26 | jackson: |
... | ... | @@ -33,13 +33,13 @@ spring: |
33 | 33 | profiles: |
34 | 34 | active: cache,${activatedProfiles} |
35 | 35 | redis: |
36 | - host: 192.168.0.234 | |
36 | + host: 172.26.154.169 | |
37 | + port: 6378 | |
37 | 38 | lettuce: |
38 | 39 | pool: |
39 | 40 | max-active: 20 |
40 | 41 | max-wait: 1S |
41 | 42 | min-idle: 3 |
42 | - port: 6379 | |
43 | 43 | database: 4 |
44 | 44 | rest-result-processor: |
45 | 45 | enabled: false |
... | ... | @@ -106,7 +106,7 @@ mybatis-plus: |
106 | 106 | type-enums-package: cn.fw.dalaran.domain.enums.**,cn.fw.dalaran.sdk.enums.** |
107 | 107 | type-handlers-package: cn.fw.common.data.mybatis.handler |
108 | 108 | nacos: |
109 | - server-addr: 192.168.0.230:8848 | |
109 | + server-addr: 172.26.154.169:8848 | |
110 | 110 | ribbon: |
111 | 111 | ConnectTimeout: 30000 |
112 | 112 | MaxAutoRetries: 0 | ... | ... |