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

View File

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