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