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