LLMX/docker/docker-compose.dev.yml
gewuyou f3882418d9
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 8m35s
build:重构项目依赖并优化配置
- 移除 llmx-core-service 和 llmx-impl-bailian 模块中的重复配置
- 更新 Nacos 配置,启用配置刷新功能
- 添加 PostgreSQL 数据库依赖
-调整 Docker Compose 配置
- 更新项目构建脚本,支持条件依赖加载
2025-05-10 18:43:37 +08:00

42 lines
1018 B
YAML

services:
llmx-core-database:
image: postgres:16-alpine # 长期支持版本推荐用 16
container_name: llmx-core-database
restart: always
ports:
- "5432:9052"
networks:
- llmx-net
environment:
POSTGRES_DB: llmx_db
POSTGRES_USER: llmx
POSTGRES_PASSWORD: L4s6f9y3,
volumes:
- llmx-core-db-volume:/var/lib/postgresql/data
llmx-core-service:
image: ${Docker_REGISTRY_URL}/llmx-core-service
container_name: llmx-core-service
ports:
- "9002:9002"
networks:
- llmx-net
volumes:
- llmx-core-service-volume:/app/volume
restart: always
llmx-impl-baiLian:
image: ${Docker_REGISTRY_URL}/llmx-impl-bailian
container_name: llmx-impl-bailian
ports:
- "9003:9003"
networks:
- llmx-net
volumes:
- llmx-impl-baiLian-volume:/app/volume
restart: always
networks:
llmx-net:
driver: bridge
volumes:
llmx-core-service-volume:
llmx-impl-baiLian-volume:
llmx-core-db-volume: