build(llmx-impl-openai): 添加 llmx-impl-openai服务的 Docker 配置
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 9m34s
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 9m34s
- 新增项目名称、端口、环境变量等配置 - 设置 Docker 镜像名称和构建路径 - 配置容器启动命令
This commit is contained in:
parent
d429cde555
commit
5da978ab4d
@ -173,6 +173,18 @@ subprojects {
|
|||||||
"'java -cp $( cat /app/jib-classpath-file ) $( cat /app/jib-main-class-file )'"
|
"'java -cp $( cat /app/jib-classpath-file ) $( cat /app/jib-main-class-file )'"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
project {
|
||||||
|
projectName = "llmx-impl-openai"
|
||||||
|
ports = listOf("9004")
|
||||||
|
environment = mapOf("SPRING_PROFILES_ACTIVE" to env)
|
||||||
|
imageName = "llmx-impl-openai"
|
||||||
|
paths = listOf(File(rootProject.projectDir, "scripts").absolutePath)
|
||||||
|
entrypoint = listOf(
|
||||||
|
"/bin/sh", "-c",
|
||||||
|
"/entrypoint.sh -d llmx-nacos:8848,llmx-database:5432 -c " +
|
||||||
|
"'java -cp $( cat /app/jib-classpath-file ) $( cat /app/jib-main-class-file )'"
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user