Skip to content

Commit b047d32

Browse files
authored
Исправление ошибок для успешного развертывания системы (#508)
* remove deprecated attribute * fix docker compose build errors: remove invalid dependency, broken path * add ASPNETCORE_HTTP_PORTS ebv to the content service configuration
1 parent c7dec2a commit b047d32

File tree

4 files changed

+2
-14
lines changed

4 files changed

+2
-14
lines changed

HwProj.ContentService/HwProj.ContentService.Client/HwProj.ContentService.Client.csproj

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,11 @@
88

99
<ItemGroup>
1010
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.2.0" />
11+
<PackageReference Include="Microsoft.Extensions.Http" Version="2.2.0" />
1112
</ItemGroup>
1213

1314
<ItemGroup>
1415
<ProjectReference Include="..\..\HwProj.Common\HwProj.HttpUtils\HwProj.HttpUtils.csproj" />
1516
<ProjectReference Include="..\..\HwProj.Common\HwProj.Models\HwProj.Models.csproj" />
1617
</ItemGroup>
17-
18-
<ItemGroup>
19-
<Reference Include="Microsoft.Extensions.Http">
20-
<HintPath>..\..\..\..\..\..\..\Program Files\dotnet\shared\Microsoft.AspNetCore.App\2.2.8\Microsoft.Extensions.Http.dll</HintPath>
21-
</Reference>
22-
</ItemGroup>
23-
2418
</Project>

docker-compose.override.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '2.0'
2-
31
services:
42
mssqllocaldb:
53
container_name: mssqllocaldb
@@ -82,6 +80,7 @@ services:
8280
hwproj.contentservice.api:
8381
environment:
8482
- ASPNETCORE_ENVIRONMENT=Development
83+
- ASPNETCORE_HTTP_PORTS=80
8584
- EventBus:EventBusHostName=rabbitmq
8685
- Services:Auth=http://hwproj.authservice.api
8786
ports:

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '2.0'
2-
31
services:
42
mssqllocaldb:
53
image: mcr.microsoft.com/mssql/server:2019-latest

hwproj.front/.dockerignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
bin\
2-
obj\
3-
**/*.sln
41
node_modules
52
npm-debug.log

0 commit comments

Comments
 (0)