修复openapi、file模块docker部署失败的问题

This commit is contained in:
2026-08-07 13:35:21 +08:00
parent ed0e61563c
commit 21b2884bad
3 changed files with 5 additions and 91 deletions

View File

@@ -1,50 +1,2 @@
server:
port: 8107
spring:
application:
name: blade-file
cloud:
nacos:
discovery:
namespace: ${spring.profiles.active}
config:
file-extension: yaml
namespace: ${spring.profiles.active}
shared-configs:
- data-id: blade.yaml
refresh: true
- data-id: blade-${spring.profiles.active}.yaml
refresh: true
#spring:
# application:
# name: blade-file
# cloud:
# nacos:
# discovery:
# namespace: ${spring.profiles.active}
# # 不注册到nacos
# #registerEnabled: false
# config:
# # 文件后缀名
# file-extension: yaml
# namespace: ${spring.profiles.active}
# shared-configs:
# - data-id: blade.yaml
# refresh: true
# - data-id: blade-${spring.profiles.active}.yaml
# refresh: true
# - data-id: third-party-api.yaml
# refresh: true
# sentinel:
# datasource:
# flow:
# nacos:
# serverAddr: ${spring.cloud.nacos.server-addr}
# username: ${spring.cloud.nacos.username}
# password: ${spring.cloud.nacos.password}
# dataId: sentinel-${spring.application.name}.json
# groupId: DEFAULT_GROUP
# namespace: ${spring.profiles.active}
# ruleType: flow