test(infrastructure): 调整测试环境端口映射并关闭 Nacos 鉴权- 修改 llmx-impl-bailian 应用的测试端口为 9003
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 2m34s

- 更新 Docker Compose 测试配置,调整 Nacos 和数据库端口映射
- 在 Nacos 容器中添加环境变量禁用鉴权
This commit is contained in:
gewuyou 2025-05-09 08:55:45 +08:00
parent f873d7bb10
commit a257504949
2 changed files with 6 additions and 5 deletions

View File

@ -4,13 +4,14 @@ services:
container_name: llmx-nacos container_name: llmx-nacos
restart: always restart: always
ports: ports:
- "8848:9001" - "9001:8848"
- "9848:9053" - "9053:9848"
- "9849:9054" - "9054:9849"
networks: networks:
- llmx-net-test - llmx-net-test
environment: environment:
MODE: standalone # 显式指定为单体模式 MODE: standalone # 显式指定为单体模式
NACOS_AUTH_ENABLE: "false" # 👈 关闭鉴权
volumes: volumes:
- llmx-nacos-volume:/nacos/data - llmx-nacos-volume:/nacos/data
llmx-core-service: llmx-core-service:
@ -42,7 +43,7 @@ services:
container_name: llmx-core-database container_name: llmx-core-database
restart: always restart: always
ports: ports:
- "5432:9052" - "9052:5432"
networks: networks:
- llmx-net-test - llmx-net-test
environment: environment:

View File

@ -1,5 +1,5 @@
server: server:
port: 8082 port: 9003
spring: spring:
config: config:
import: classpath:bootstrap-test.yml import: classpath:bootstrap-test.yml