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

This commit is contained in:
2026-08-07 12:56:20 +08:00
parent de5cecd0cd
commit ed0e61563c
9 changed files with 77 additions and 49 deletions

View File

@@ -0,0 +1,6 @@
# 数据源配置
spring:
datasource:
url: ${blade.datasource.dev.url}
username: ${blade.datasource.dev.username}
password: ${blade.datasource.dev.password}

View File

@@ -0,0 +1,6 @@
# 数据源配置
spring:
datasource:
url: ${blade.datasource.prod.url}
username: ${blade.datasource.prod.username}
password: ${blade.datasource.prod.password}

View File

@@ -0,0 +1,6 @@
# 数据源配置
spring:
datasource:
url: ${blade.datasource.test.url}
username: ${blade.datasource.test.username}
password: ${blade.datasource.test.password}

View File

@@ -1,32 +1,21 @@
server:
port: 8107
#数据源配置
spring:
datasource:
url: ${blade.datasource.dev.url}
username: ${blade.datasource.dev.username}
password: ${blade.datasource.dev.password}
application:
name: blade-file
cloud:
nacos:
discovery:
namespace: ${spring.profiles.active}
config:
file-extension: yaml
namespace: ${spring.profiles.active}
shared-configs:
- data-id: third-party-api.yaml
- data-id: blade.yaml
refresh: true
- data-id: blade-${spring.profiles.active}.yaml
refresh: true
#第三方接口本地默认配置Nacos third-party-api.yaml 可覆盖
thirdParty:
ocr:
baseUrl: ${OCR_BASE_URL:http://127.0.0.1:8080}
baseOtherUrl: ${OCR_BASE_OTHER_URL:http://127.0.0.1:8080}
wps:
baseUrl: ${WPS_BASE_URL:http://127.0.0.1:8080}
oa:
baseUrl: ${OA_BASE_URL:http://127.0.0.1:8080}
track:
baseUrl: ${TRACK_BASE_URL:http://127.0.0.1:8080}
mk:
baseUrl: ${MK_BASE_URL:http://127.0.0.1:8080}
#spring:
# application: