Commit a7e3d7dc785eafd9880af71c30ce59cc6e2fe6e9
1 parent
c1d24468
2022年9月30日16:50:40 修改配置文件
Showing
4 changed files
with
12 additions
and
3 deletions
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
fw-dalaran-server/src/main/resources/application-prd.yml
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: | ... | ... |