Commit a7e3d7dc785eafd9880af71c30ce59cc6e2fe6e9

Authored by 王明元
1 parent c1d24468

2022年9月30日16:50:40 修改配置文件

fw-dalaran-server/pom.xml
... ... @@ -205,6 +205,12 @@
205 205 </properties>
206 206 </profile>
207 207 <profile>
  208 + <id>local</id>
  209 + <properties>
  210 + <activatedProfiles>local</activatedProfiles>
  211 + </properties>
  212 + </profile>
  213 + <profile>
208 214 <id>test</id>
209 215 <properties>
210 216 <activatedProfiles>test</activatedProfiles>
... ...
fw-dalaran-server/src/main/resources/application-local.yml
... ... @@ -21,5 +21,10 @@ rocketmq:
21 21 producer-group: ${spring.application.name}
22 22 task:
23 23 switch: 'off'
  24 +jedis:
  25 + pool:
  26 + host: 172.26.154.169
  27 + pwd: fw@test@redis
  28 + port: 6378
24 29  
25 30 file-server-addr: 'http://testgate.feewee.cn/file/show?fid='
... ...
fw-dalaran-server/src/main/resources/application-prd.yml
... ... @@ -13,6 +13,7 @@ spring:
13 13 password: Feewee_Data2_Root123
14 14 redis:
15 15 host: 192.168.0.101
  16 + port: 6379
16 17 url:
17 18 http-file-url: https://gate.feewee.cn/file
18 19  
... ...
fw-dalaran-server/src/main/resources/application.yml
... ... @@ -8,7 +8,6 @@ spring:
8 8 key-prefix: 'dalaran:locker'
9 9 custom:
10 10 global-prefix: 'dalaran'
11   -
12 11 cloud:
13 12 nacos:
14 13 discovery:
... ... @@ -34,7 +33,6 @@ spring:
34 33 active: cache,${activatedProfiles}
35 34 redis:
36 35 host: 172.26.154.169
37   - port: 6378
38 36 lettuce:
39 37 pool:
40 38 max-active: 20
... ... @@ -84,7 +82,6 @@ jedis:
84 82 test-on-return: false
85 83 test-while-idle: true
86 84 host: 172.26.154.169
87   - port: 6378
88 85 db: 4
89 86 mybatis-plus:
90 87 configuration:
... ...