Files
Hua.Cli/templates/ms/docker-compose.yml
ShaoHua 734b2c91f9 build: 升级目标框架到net10.0并完善模板配置
1. 将Hua.Cli.Tests、项目共享库、模块项目等所有项目的TargetFramework从net8.0/net9.0升级到net10.0
2. 完善dotnet-tools.json、模板配置文件,添加必要的构建和发布配置
3. 新增微服务、网关、应用程序的启动脚本和基础配置文件
4. 补充产品管理模块的领域、应用、Web层基础代码和多语言资源
2026-07-16 02:43:29 +08:00

61 lines
1.5 KiB
YAML

version: '3.7'
services:
internal-gateway:
image: 'Company.Project-internal-gateway:${TAG:-latest}'
build:
context: .
dockerfile: gateways/Company.Project.InternalGateway.Host/Dockerfile
depends_on:
- identity-service
- product-service
public-web-gateway:
image: 'Company.Project-public-web-gateway:${TAG:-latest}'
build:
context: .
dockerfile: gateways/Company.Project.PublicWebGateway.Host/Dockerfile
depends_on:
- product-service
identity-service:
image: 'Company.Project-identity-service:${TAG:-latest}'
build:
context: .
dockerfile: microservices/Company.Project.IdentityService.Host/Dockerfile
depends_on:
- rabbitmq
- redis
- sqlserver
product-service:
image: 'Company.Project-product-service:${TAG:-latest}'
build:
context: .
dockerfile: microservices/Company.Project.ProductService.Host/Dockerfile
depends_on:
- sqlserver
- redis
auth-server:
image: 'Company.Project-auth-server:${TAG:-latest}'
build:
context: .
dockerfile: applications/Company.Project.AuthServer.Host/Dockerfile
depends_on:
- redis
- rabbitmq
- identity-service
backend-admin-app:
image: 'Company.Project-backend-admin-app:${TAG:-latest}'
build:
context: .
dockerfile: applications/Company.Project.BackendAdminApp.Host/Dockerfile
depends_on:
- internal-gateway
volumes:
dbdata: