- 重命名应用名称和包名,统一使用 llmx 前缀- 添加生产环境和测试环境的 Docker 配置文件 - 新增环境变量配置,用于 Docker部署 - 更新构建脚本,支持多模块构建 - 优化应用配置,适配 Docker 环境
42 lines
1020 B
YAML
42 lines
1020 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_core
|
|
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: |