新增dify接口;完善F10请求地址

This commit is contained in:
BBIT-Kai
2026-07-03 09:06:45 +08:00
parent cd16184e0c
commit 73c47bee88
9 changed files with 434 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM amazoncorretto:21-alpine
WORKDIR /app
COPY build/install/f10/ /app/
EXPOSE 8096
CMD ["./bin/f10"]
+50
View File
@@ -0,0 +1,50 @@
$ErrorActionPreference = "Stop"
$VERSION = "1.0"
$IMAGE = "docker.bbitcn.net/bbit_f10/trace"
Write-Host "Gradle installDist"
Write-Host "==============================="
.\gradlew.bat clean installDist
if ($LASTEXITCODE -ne 0) {
throw "installDist failed"
}
Write-Host "Docker Build"
Write-Host "==============================="
docker build ` -t "${IMAGE}:${VERSION}"`
-t "${IMAGE}:latest" `
.
if ($LASTEXITCODE -ne 0) {
throw "docker build failed"
}
Write-Host "Push Version"
Write-Host "==============================="
docker push "${IMAGE}:${VERSION}"
if ($LASTEXITCODE -ne 0) {
throw "push version failed"
}
Write-Host "Push Latest"
Write-Host "==============================="
docker push "${IMAGE}:latest"
if ($LASTEXITCODE -ne 0) {
throw "push latest failed"
}
Write-Host "SUCCESS"
Write-Host "==============================="
Write-Host ""
Write-Host "Published:"
Write-Host " ${IMAGE}:${VERSION}"
Write-Host " ${IMAGE}:latest"
+2 -3
View File
@@ -3,10 +3,9 @@ ktor:
modules:
- com.bbitcn.ApplicationKt.module
deployment:
port: 8081
port: 8096
traceability:
# 访问主服务的地址
# core-base-url: "http://127.0.0.1:8089" # 开发
core-base-url: "https://171.212.101.200:8090/api" # 生产 用IP
# core-base-url: "https://ai.ronsunny.cn:8090/api" # 生产 用域名
core-base-url: "https://ai.bbitcn.net/api" # 生产