From d429cde5550e5a712b4f72dcc2d99d6038960eeb Mon Sep 17 00:00:00 2001 From: gewuyou Date: Sun, 11 May 2025 21:59:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(docker):=20=E6=B7=BB=E5=8A=A0=20OpenAI=20?= =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 llmx-impl-openai 服务,使用 Docker 部署 -配置端口映射、网络、环境变量和卷 - 更新网络和卷定义,支持 OpenAI 服务 --- docker/docker-compose.test.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docker/docker-compose.test.yml b/docker/docker-compose.test.yml index 737ff70..eb4f9f8 100644 --- a/docker/docker-compose.test.yml +++ b/docker/docker-compose.test.yml @@ -42,6 +42,18 @@ services: volumes: - llmx-impl-bailian-volume:/app/volume restart: always + llmx-impl-openai: + image: ${DOCKER_REGISTRY_URL}/llmx-impl-openai + container_name: llmx-impl-openai + ports: + - "9004:9004" + networks: + - llmx-net-test + environment: + SPRING_PROFILES_ACTIVE: ${SPRING_PROFILES_ACTIVE} + volumes: + - llmx-impl-openai-volume:/app/volume + restart: always llmx-core-database: image: postgres:16-alpine # 长期支持版本推荐用 16 container_name: llmx-database @@ -62,6 +74,7 @@ networks: driver: bridge volumes: llmx-core-service-volume: - llmx-impl-bailian-volume: llmx-core-db-volume: - llmx-nacos-volume: \ No newline at end of file + llmx-nacos-volume: + llmx-impl-bailian-volume: + llmx-impl-openai-volume: \ No newline at end of file -- 2.47.2