Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 4eb48d0

Browse files
committed
Update paths
update dockerfiles
1 parent 78b667d commit 4eb48d0

File tree

41 files changed

+38
-32
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+38
-32
lines changed

api.dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,18 @@ EXPOSE 5003
66
FROM microsoft/dotnet:2.2-sdk AS build
77
WORKDIR /src
88
COPY ["src/Backend/Jp.UserManagement/Jp.Management.csproj", "Backend/Jp.UserManagement/"]
9-
COPY ["src/Backend/Jp.Infra.Migrations.Sql/Jp.Infra.Migrations.Sql.csproj", "Backend/Jp.Infra.Migrations.Sql/"]
10-
COPY ["src/Backend/Jp.Infra.Data/Jp.Infra.Data.csproj", "Backend/Jp.Infra.Data/"]
9+
COPY ["src/Backend/Jp.Application/Jp.Application.csproj", "Backend/Jp.Application/"]
1110
COPY ["src/Backend/Jp.Domain.Core/Jp.Domain.Core.csproj", "Backend/Jp.Domain.Core/"]
1211
COPY ["src/Backend/Jp.Domain/Jp.Domain.csproj", "Backend/Jp.Domain/"]
12+
COPY ["src/Backend/Jp.Infra.Data/Jp.Infra.Data.csproj", "Backend/Jp.Infra.Data/"]
13+
COPY ["src/Backend/Jp.Infra.Data.MySql/Jp.Infra.Data.MySql.csproj", "Backend/Jp.Infra.Data.MySql/"]
14+
COPY ["src/Backend/Jp.Infra.Data.Sql/Jp.Infra.Data.Sql.csproj", "Backend/Jp.Infra.Data.Sql/"]
15+
COPY ["src/Backend/Jp.Infra.Data.PostgreSQL/Jp.Infra.Data.PostgreSQL.csproj", "Backend/Jp.Infra.Data.PostgreSQL/"]
1316
COPY ["src/Backend/Jp.Infra.CrossCutting.Bus/Jp.Infra.CrossCutting.Bus.csproj", "Backend/Jp.Infra.CrossCutting.Bus/"]
17+
COPY ["src/Backend/Jp.Infra.CrossCutting.Database/Jp.Infra.CrossCutting.Database.csproj", "Backend/Jp.Infra.CrossCutting.Database/"]
1418
COPY ["src/Backend/Jp.Infra.CrossCutting.Identity/Jp.Infra.CrossCutting.Identity.csproj", "Backend/Jp.Infra.CrossCutting.Identity/"]
15-
COPY ["src/Backend/Jp.Application/Jp.Application.csproj", "Backend/Jp.Application/"]
1619
COPY ["src/Backend/Jp.Infra.CrossCutting.IoC/Jp.Infra.CrossCutting.IoC.csproj", "Backend/Jp.Infra.CrossCutting.IoC/"]
1720
COPY ["src/Backend/Jp.Infra.CrossCutting.Tools/Jp.Infra.CrossCutting.Tools.csproj", "Backend/Jp.Infra.CrossCutting.Tools/"]
18-
COPY ["src/Backend/Jp.Infra.Migrations.MySql/Jp.Infra.Migrations.MySql.csproj", "Backend/Jp.Infra.Migrations.MySql/"]
1921

2022
RUN dotnet restore "Backend/Jp.UserManagement/Jp.Management.csproj"
2123
COPY src/. .

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ services:
99
image: mysql
1010
command: --default-authentication-plugin=mysql_native_password
1111
restart: always
12+
expose:
13+
- "3306"
1214
environment:
1315
MYSQL_ROOT_PASSWORD: root
1416
MYSQL_USER: jp

src/Backend/Jp.Infra.CrossCutting.Database/Jp.Infra.CrossCutting.Database.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<ProjectReference Include="..\Jp.Infra.Migrations.MySql\Jp.Infra.Data.MySql.csproj" />
18-
<ProjectReference Include="..\Jp.Infra.Migrations.PostgreSQL\Jp.Infra.Data.PostgreSQL.csproj" />
19-
<ProjectReference Include="..\Jp.Infra.Migrations.Sql\Jp.Infra.Data.Sql.csproj" />
17+
<ProjectReference Include="..\Jp.Infra.Data.MySql\Jp.Infra.Data.MySql.csproj" />
18+
<ProjectReference Include="..\Jp.Infra.Data.PostgreSQL\Jp.Infra.Data.PostgreSQL.csproj" />
19+
<ProjectReference Include="..\Jp.Infra.Data.Sql\Jp.Infra.Data.Sql.csproj" />
2020
</ItemGroup>
2121
</Project>

src/Backend/Jp.Infra.Migrations.MySql/Configuration/IdentityConfig.cs renamed to src/Backend/Jp.Infra.Data.MySql/Configuration/IdentityConfig.cs

File renamed without changes.

src/Backend/Jp.Infra.Migrations.MySql/Configuration/IdentityServerConfig.cs renamed to src/Backend/Jp.Infra.Data.MySql/Configuration/IdentityServerConfig.cs

File renamed without changes.

src/Backend/Jp.Infra.Migrations.MySql/Jp.Infra.Data.MySql.csproj renamed to src/Backend/Jp.Infra.Data.MySql/Jp.Infra.Data.MySql.csproj

File renamed without changes.

src/Backend/Jp.Infra.Migrations.MySql/Migrations/EventStore/20190302144817_Initial.Designer.cs renamed to src/Backend/Jp.Infra.Data.MySql/Migrations/EventStore/20190302144817_Initial.Designer.cs

File renamed without changes.

src/Backend/Jp.Infra.Migrations.MySql/Migrations/EventStore/20190302144817_Initial.cs renamed to src/Backend/Jp.Infra.Data.MySql/Migrations/EventStore/20190302144817_Initial.cs

File renamed without changes.

src/Backend/Jp.Infra.Migrations.MySql/Migrations/EventStore/EventStoreContextModelSnapshot.cs renamed to src/Backend/Jp.Infra.Data.MySql/Migrations/EventStore/EventStoreContextModelSnapshot.cs

File renamed without changes.

src/Backend/Jp.Infra.Migrations.MySql/Migrations/Identity/20190302144650_Initial.Designer.cs renamed to src/Backend/Jp.Infra.Data.MySql/Migrations/Identity/20190302144650_Initial.Designer.cs

File renamed without changes.

0 commit comments

Comments
 (0)