734b2c91f9
1. 将Hua.Cli.Tests、项目共享库、模块项目等所有项目的TargetFramework从net8.0/net9.0升级到net10.0 2. 完善dotnet-tools.json、模板配置文件,添加必要的构建和发布配置 3. 新增微服务、网关、应用程序的启动脚本和基础配置文件 4. 补充产品管理模块的领域、应用、Web层基础代码和多语言资源
75 lines
3.3 KiB
YAML
75 lines
3.3 KiB
YAML
version: '3.7'
|
|
|
|
services:
|
|
|
|
internal-gateway:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- AuthServer__Authority=http://auth-server:51511
|
|
- ConnectionStrings__Default=Server=sqlserver;Database=Company.Project_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
|
|
- Redis__Configuration=redis
|
|
- ReRoutes__0__DownstreamHostAndPorts__0__Host=identity-service
|
|
- ReRoutes__0__DownstreamHostAndPorts__0__Port=80
|
|
- ReRoutes__1__DownstreamHostAndPorts__0__Host=product-service
|
|
- ReRoutes__1__DownstreamHostAndPorts__0__Port=80
|
|
- GlobalConfiguration__BaseUrl=http://internal-gateway
|
|
ports:
|
|
- "80"
|
|
|
|
public-web-gateway:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- AuthServer__Authority=http://auth-server:51511
|
|
- ConnectionStrings__Default=Server=sqlserver;Database=Company.Project_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
|
|
- Redis__Configuration=redis
|
|
- ReRoutes__0__DownstreamHostAndPorts__0__Host=product-service
|
|
- ReRoutes__0__DownstreamHostAndPorts__0__Port=80
|
|
- GlobalConfiguration__BaseUrl=http://public-web-gateway
|
|
ports:
|
|
- "80"
|
|
|
|
identity-service:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- AuthServer__Authority=http://auth-server:51511
|
|
- ConnectionStrings__Default=Server=sqlserver;Database=Company.Project_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
|
|
- Redis__Configuration=redis
|
|
- RabbitMQ__Connections__Default__HostName=rabbitmq
|
|
ports:
|
|
- "80"
|
|
|
|
product-service:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- AuthServer__Authority=http://auth-server:51511
|
|
- ConnectionStrings__Default=Server=sqlserver;Database=Company.Project_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
|
|
- ConnectionStrings__ProductManagement=Server=sqlserver;Database=Company.Project_ProductManagement;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
|
|
- Redis__Configuration=redis
|
|
- RabbitMQ__Connections__Default__HostName=rabbitmq
|
|
ports:
|
|
- "80"
|
|
|
|
auth-server:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:51511
|
|
- ConnectionStrings__Default=Server=sqlserver;Database=Company.Project_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
|
|
- Redis__Configuration=redis
|
|
- RabbitMQ__Connections__Default__HostName=rabbitmq
|
|
ports:
|
|
- 51511:51511
|
|
|
|
backend-admin-app:
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- AuthServer__Authority=http://auth-server:51511
|
|
- RemoteServices__Default__BaseUrl=http://internal-gateway/
|
|
- Redis__Configuration=redis
|
|
ports:
|
|
- "80"
|