From e23ea9b170815bb609f9b38eb623ce700cf111cf Mon Sep 17 00:00:00 2001 From: WangJunZzz <510423039@qq.com> Date: Mon, 25 Mar 2024 20:46:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4dockerfile=E7=AB=AF?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aspnet-core/Dockerfile | 2 +- .../host/Lion.AbpPro.HttpApi.Host/appsettings.Production.json | 2 +- templates/abp-vnext-pro-nuget-all/aspnet-core/Dockerfile | 2 +- templates/abp-vnext-pro-nuget-simplify/aspnet-core/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aspnet-core/Dockerfile b/aspnet-core/Dockerfile index 663e75f5..cc0f126c 100644 --- a/aspnet-core/Dockerfile +++ b/aspnet-core/Dockerfile @@ -1,6 +1,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app -EXPOSE 80 +EXPOSE 8080 EXPOSE 443 ENV TZ=Asia/Shanghai ENV ASPNETCORE_ENVIRONMENT=Production diff --git a/aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/appsettings.Production.json b/aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/appsettings.Production.json index fd85bd55..91a1e584 100644 --- a/aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/appsettings.Production.json +++ b/aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/appsettings.Production.json @@ -52,7 +52,7 @@ "ExpirationTime": 2 }, "Cap": { - "Enabled": false, + "Enabled": true, "RabbitMq": { "HostName": "rabbitmq", "UserName": "admin", diff --git a/templates/abp-vnext-pro-nuget-all/aspnet-core/Dockerfile b/templates/abp-vnext-pro-nuget-all/aspnet-core/Dockerfile index 39ae7a04..d49e967a 100644 --- a/templates/abp-vnext-pro-nuget-all/aspnet-core/Dockerfile +++ b/templates/abp-vnext-pro-nuget-all/aspnet-core/Dockerfile @@ -1,6 +1,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app -EXPOSE 80 +EXPOSE 8080 EXPOSE 443 ENV TZ=Asia/Shanghai ENV ASPNETCORE_ENVIRONMENT=Production diff --git a/templates/abp-vnext-pro-nuget-simplify/aspnet-core/Dockerfile b/templates/abp-vnext-pro-nuget-simplify/aspnet-core/Dockerfile index 39ae7a04..d49e967a 100644 --- a/templates/abp-vnext-pro-nuget-simplify/aspnet-core/Dockerfile +++ b/templates/abp-vnext-pro-nuget-simplify/aspnet-core/Dockerfile @@ -1,6 +1,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app -EXPOSE 80 +EXPOSE 8080 EXPOSE 443 ENV TZ=Asia/Shanghai ENV ASPNETCORE_ENVIRONMENT=Production