From 84062ee27d67e67439689be12547a01e7140ddb8 Mon Sep 17 00:00:00 2001 From: Hamed Shirbandi Date: Wed, 20 Dec 2023 20:49:18 +0100 Subject: [PATCH] fix: docker files --- .../Boards/Api/Boards.Read.Api/Dockerfile | 9 +++--- .../Api/Boards.Read.Api/Dockerfile.original | 28 +++++++++++++++++ .../Boards/Api/Boards.Write.Api/Dockerfile | 12 +++---- .../Api/Boards.Write.Api/Dockerfile.original | 31 +++++++++++++++++++ .../Identity/Api/Identity.Api/Dockerfile | 12 +++---- .../Api/Identity.Api/Dockerfile.original | 31 +++++++++++++++++++ .../Properties/launchSettings.json | 2 +- .../Owners/Api/Owners.Read.Api/Dockerfile | 9 +++--- .../Api/Owners.Read.Api/Dockerfile.original | 28 +++++++++++++++++ .../Owners/Api/Owners.Write.Api/Dockerfile | 12 +++---- .../Api/Owners.Write.Api/Dockerfile.original | 31 +++++++++++++++++++ .../Tasks/Api/Tasks.Read.Api/Dockerfile | 9 +++--- .../Api/Tasks.Read.Api/Dockerfile.original | 28 +++++++++++++++++ .../Tasks/Api/Tasks.Write.Api/Dockerfile | 12 +++---- .../Api/Tasks.Write.Api/Dockerfile.original | 31 +++++++++++++++++++ .../UserPanel/Aggregator/Dockerfile | 3 +- .../UserPanel/ApiGateway/Dockerfile | 3 +- src/4-Clients/Website/Dockerfile | 8 +++-- src/4-Clients/Website/Dockerfile.original | 25 +++++++++++++++ src/7-Docker/docker-compose.yml | 21 +++++++------ 20 files changed, 290 insertions(+), 55 deletions(-) create mode 100644 src/2-Services/Boards/Api/Boards.Read.Api/Dockerfile.original create mode 100644 src/2-Services/Boards/Api/Boards.Write.Api/Dockerfile.original create mode 100644 src/2-Services/Identity/Api/Identity.Api/Dockerfile.original create mode 100644 src/2-Services/Owners/Api/Owners.Read.Api/Dockerfile.original create mode 100644 src/2-Services/Owners/Api/Owners.Write.Api/Dockerfile.original create mode 100644 src/2-Services/Tasks/Api/Tasks.Read.Api/Dockerfile.original create mode 100644 src/2-Services/Tasks/Api/Tasks.Write.Api/Dockerfile.original create mode 100644 src/4-Clients/Website/Dockerfile.original diff --git a/src/2-Services/Boards/Api/Boards.Read.Api/Dockerfile b/src/2-Services/Boards/Api/Boards.Read.Api/Dockerfile index f1492dd8f..57b7f24cd 100644 --- a/src/2-Services/Boards/Api/Boards.Read.Api/Dockerfile +++ b/src/2-Services/Boards/Api/Boards.Read.Api/Dockerfile @@ -1,4 +1,4 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app @@ -7,16 +7,17 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src -COPY ["src/2-Services/Boards/Read/Api/Boards.Read.Api/Boards.Read.Api.csproj", "src/2-Services/Boards/Read/Api/Boards.Read.Api/"] +COPY ["Directory.Build.props", "."] +COPY ["src/2-Services/Boards/Api/Boards.Read.Api/Boards.Read.Api.csproj", "src/2-Services/Boards/Api/Boards.Read.Api/"] COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] -RUN dotnet restore "src/2-Services/Boards/Read/Api/Boards.Read.Api/Boards.Read.Api.csproj" +RUN dotnet restore "src/2-Services/Boards/Api/Boards.Read.Api/Boards.Read.Api.csproj" COPY . . -WORKDIR "/src/src/2-Services/Boards/Read/Api/Boards.Read.Api" +WORKDIR "/src/src/2-Services/Boards/Api/Boards.Read.Api" RUN dotnet build "Boards.Read.Api.csproj" -c Release -o /app/build FROM build AS publish diff --git a/src/2-Services/Boards/Api/Boards.Read.Api/Dockerfile.original b/src/2-Services/Boards/Api/Boards.Read.Api/Dockerfile.original new file mode 100644 index 000000000..8a87130fa --- /dev/null +++ b/src/2-Services/Boards/Api/Boards.Read.Api/Dockerfile.original @@ -0,0 +1,28 @@ +#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. + +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +WORKDIR /app +EXPOSE 80 +EXPOSE 443 + +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +WORKDIR /src +COPY ["src/2-Services/Boards/Api/Boards.Read.Api/Boards.Read.Api.csproj", "src/2-Services/Boards/Api/Boards.Read.Api/"] +COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] +COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] +COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] +COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] +COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] +COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] +RUN dotnet restore "src/2-Services/Boards/Api/Boards.Read.Api/Boards.Read.Api.csproj" +COPY . . +WORKDIR "/src/src/2-Services/Boards/Api/Boards.Read.Api" +RUN dotnet build "Boards.Read.Api.csproj" -c Release -o /app/build + +FROM build AS publish +RUN dotnet publish "Boards.Read.Api.csproj" -c Release -o /app/publish /p:UseAppHost=false + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "TaskoMask.Services.Boards.Read.Api.dll"] \ No newline at end of file diff --git a/src/2-Services/Boards/Api/Boards.Write.Api/Dockerfile b/src/2-Services/Boards/Api/Boards.Write.Api/Dockerfile index a7d05dbd4..91dac28a8 100644 --- a/src/2-Services/Boards/Api/Boards.Write.Api/Dockerfile +++ b/src/2-Services/Boards/Api/Boards.Write.Api/Dockerfile @@ -1,4 +1,4 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app @@ -7,19 +7,17 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src -COPY ["src/2-Services/Boards/Write/Api/Boards.Write.Api/Boards.Write.Api.csproj", "src/2-Services/Boards/Write/Api/Boards.Write.Api/"] +COPY ["Directory.Build.props", "."] +COPY ["src/2-Services/Boards/Api/Boards.Write.Api/Boards.Write.Api.csproj", "src/2-Services/Boards/Api/Boards.Write.Api/"] COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] -COPY ["src/2-Services/Boards/Write/Libraries/Infrastructure/Infrastructure.csproj", "src/2-Services/Boards/Write/Libraries/Infrastructure/"] -COPY ["src/2-Services/Boards/Write/Libraries/Application/Application.csproj", "src/2-Services/Boards/Write/Libraries/Application/"] -COPY ["src/2-Services/Boards/Write/Libraries/Domain/Domain.csproj", "src/2-Services/Boards/Write/Libraries/Domain/"] -RUN dotnet restore "src/2-Services/Boards/Write/Api/Boards.Write.Api/Boards.Write.Api.csproj" +RUN dotnet restore "src/2-Services/Boards/Api/Boards.Write.Api/Boards.Write.Api.csproj" COPY . . -WORKDIR "/src/src/2-Services/Boards/Write/Api/Boards.Write.Api" +WORKDIR "/src/src/2-Services/Boards/Api/Boards.Write.Api" RUN dotnet build "Boards.Write.Api.csproj" -c Release -o /app/build FROM build AS publish diff --git a/src/2-Services/Boards/Api/Boards.Write.Api/Dockerfile.original b/src/2-Services/Boards/Api/Boards.Write.Api/Dockerfile.original new file mode 100644 index 000000000..dd7ff9ff9 --- /dev/null +++ b/src/2-Services/Boards/Api/Boards.Write.Api/Dockerfile.original @@ -0,0 +1,31 @@ +#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. + +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +WORKDIR /app +EXPOSE 80 +EXPOSE 443 + +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +WORKDIR /src +COPY ["src/2-Services/Boards/Api/Boards.Write.Api/Boards.Write.Api.csproj", "src/2-Services/Boards/Api/Boards.Write.Api/"] +COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] +COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] +COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] +COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] +COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] +COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] +COPY ["src/2-Services/Boards/Write/Libraries/Infrastructure/Infrastructure.csproj", "src/2-Services/Boards/Write/Libraries/Infrastructure/"] +COPY ["src/2-Services/Boards/Write/Libraries/Application/Application.csproj", "src/2-Services/Boards/Write/Libraries/Application/"] +COPY ["src/2-Services/Boards/Write/Libraries/Domain/Domain.csproj", "src/2-Services/Boards/Write/Libraries/Domain/"] +RUN dotnet restore "src/2-Services/Boards/Api/Boards.Write.Api/Boards.Write.Api.csproj" +COPY . . +WORKDIR "/src/src/2-Services/Boards/Api/Boards.Write.Api" +RUN dotnet build "Boards.Write.Api.csproj" -c Release -o /app/build + +FROM build AS publish +RUN dotnet publish "Boards.Write.Api.csproj" -c Release -o /app/publish /p:UseAppHost=false + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "TaskoMask.Services.Boards.Write.Api.dll"] \ No newline at end of file diff --git a/src/2-Services/Identity/Api/Identity.Api/Dockerfile b/src/2-Services/Identity/Api/Identity.Api/Dockerfile index c37e52d27..d39bc636d 100644 --- a/src/2-Services/Identity/Api/Identity.Api/Dockerfile +++ b/src/2-Services/Identity/Api/Identity.Api/Dockerfile @@ -1,4 +1,4 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app @@ -7,16 +7,14 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src +COPY ["Directory.Build.props", "."] COPY ["src/2-Services/Identity/Api/Identity.Api/Identity.Api.csproj", "src/2-Services/Identity/Api/Identity.Api/"] COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] -COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] -COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] -COPY ["src/2-Services/Identity/Libraries/Infrastructure/Infrastructure.csproj", "src/2-Services/Identity/Libraries/Infrastructure/"] COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] -COPY ["src/2-Services/Identity/Libraries/Application/Application.csproj", "src/2-Services/Identity/Libraries/Application/"] -COPY ["src/2-Services/Identity/Libraries/Domain/Domain.csproj", "src/2-Services/Identity/Libraries/Domain/"] +COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] +COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] RUN dotnet restore "src/2-Services/Identity/Api/Identity.Api/Identity.Api.csproj" COPY . . WORKDIR "/src/src/2-Services/Identity/Api/Identity.Api" @@ -28,4 +26,4 @@ RUN dotnet publish "Identity.Api.csproj" -c Release -o /app/publish /p:UseAppHos FROM base AS final WORKDIR /app COPY --from=publish /app/publish . -ENTRYPOINT ["dotnet", "TaskoMask.Services.TaskoMask.Services.Identity.Api.dll"] \ No newline at end of file +ENTRYPOINT ["dotnet", "TaskoMask.Services.Identity.Api.dll"] \ No newline at end of file diff --git a/src/2-Services/Identity/Api/Identity.Api/Dockerfile.original b/src/2-Services/Identity/Api/Identity.Api/Dockerfile.original new file mode 100644 index 000000000..c37e52d27 --- /dev/null +++ b/src/2-Services/Identity/Api/Identity.Api/Dockerfile.original @@ -0,0 +1,31 @@ +#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. + +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +WORKDIR /app +EXPOSE 80 +EXPOSE 443 + +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +WORKDIR /src +COPY ["src/2-Services/Identity/Api/Identity.Api/Identity.Api.csproj", "src/2-Services/Identity/Api/Identity.Api/"] +COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] +COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] +COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] +COPY ["src/2-Services/Identity/Libraries/Infrastructure/Infrastructure.csproj", "src/2-Services/Identity/Libraries/Infrastructure/"] +COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] +COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] +COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] +COPY ["src/2-Services/Identity/Libraries/Application/Application.csproj", "src/2-Services/Identity/Libraries/Application/"] +COPY ["src/2-Services/Identity/Libraries/Domain/Domain.csproj", "src/2-Services/Identity/Libraries/Domain/"] +RUN dotnet restore "src/2-Services/Identity/Api/Identity.Api/Identity.Api.csproj" +COPY . . +WORKDIR "/src/src/2-Services/Identity/Api/Identity.Api" +RUN dotnet build "Identity.Api.csproj" -c Release -o /app/build + +FROM build AS publish +RUN dotnet publish "Identity.Api.csproj" -c Release -o /app/publish /p:UseAppHost=false + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "TaskoMask.Services.TaskoMask.Services.Identity.Api.dll"] \ No newline at end of file diff --git a/src/2-Services/Identity/Api/Identity.Api/Properties/launchSettings.json b/src/2-Services/Identity/Api/Identity.Api/Properties/launchSettings.json index d300bf253..9c08e87d1 100644 --- a/src/2-Services/Identity/Api/Identity.Api/Properties/launchSettings.json +++ b/src/2-Services/Identity/Api/Identity.Api/Properties/launchSettings.json @@ -7,7 +7,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "https://localhost:5017" + "applicationUrl": "https://localhost:5017;http://localhost:5017" }, "Docker": { "commandName": "Docker", diff --git a/src/2-Services/Owners/Api/Owners.Read.Api/Dockerfile b/src/2-Services/Owners/Api/Owners.Read.Api/Dockerfile index 65df6d178..db5253f6e 100644 --- a/src/2-Services/Owners/Api/Owners.Read.Api/Dockerfile +++ b/src/2-Services/Owners/Api/Owners.Read.Api/Dockerfile @@ -1,4 +1,4 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app @@ -7,16 +7,17 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src -COPY ["src/2-Services/Owners/Read/Api/Owners.Read.Api/Owners.Read.Api.csproj", "src/2-Services/Owners/Read/Api/Owners.Read.Api/"] +COPY ["Directory.Build.props", "."] +COPY ["src/2-Services/Owners/Api/Owners.Read.Api/Owners.Read.Api.csproj", "src/2-Services/Owners/Api/Owners.Read.Api/"] COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] -RUN dotnet restore "src/2-Services/Owners/Read/Api/Owners.Read.Api/Owners.Read.Api.csproj" +RUN dotnet restore "src/2-Services/Owners/Api/Owners.Read.Api/Owners.Read.Api.csproj" COPY . . -WORKDIR "/src/src/2-Services/Owners/Read/Api/Owners.Read.Api" +WORKDIR "/src/src/2-Services/Owners/Api/Owners.Read.Api" RUN dotnet build "Owners.Read.Api.csproj" -c Release -o /app/build FROM build AS publish diff --git a/src/2-Services/Owners/Api/Owners.Read.Api/Dockerfile.original b/src/2-Services/Owners/Api/Owners.Read.Api/Dockerfile.original new file mode 100644 index 000000000..2139dbdd7 --- /dev/null +++ b/src/2-Services/Owners/Api/Owners.Read.Api/Dockerfile.original @@ -0,0 +1,28 @@ +#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. + +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +WORKDIR /app +EXPOSE 80 +EXPOSE 443 + +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +WORKDIR /src +COPY ["src/2-Services/Owners/Api/Owners.Read.Api/Owners.Read.Api.csproj", "src/2-Services/Owners/Api/Owners.Read.Api/"] +COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] +COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] +COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] +COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] +COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] +COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] +RUN dotnet restore "src/2-Services/Owners/Api/Owners.Read.Api/Owners.Read.Api.csproj" +COPY . . +WORKDIR "/src/src/2-Services/Owners/Api/Owners.Read.Api" +RUN dotnet build "Owners.Read.Api.csproj" -c Release -o /app/build + +FROM build AS publish +RUN dotnet publish "Owners.Read.Api.csproj" -c Release -o /app/publish /p:UseAppHost=false + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "TaskoMask.Services.Owners.Read.Api.dll"] \ No newline at end of file diff --git a/src/2-Services/Owners/Api/Owners.Write.Api/Dockerfile b/src/2-Services/Owners/Api/Owners.Write.Api/Dockerfile index 7f7f8aa1d..2f0d12646 100644 --- a/src/2-Services/Owners/Api/Owners.Write.Api/Dockerfile +++ b/src/2-Services/Owners/Api/Owners.Write.Api/Dockerfile @@ -1,4 +1,4 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app @@ -7,19 +7,17 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src -COPY ["src/2-Services/Owners/Write/Api/Owners.Write.Api/Owners.Write.Api.csproj", "src/2-Services/Owners/Write/Api/Owners.Write.Api/"] +COPY ["Directory.Build.props", "."] +COPY ["src/2-Services/Owners/Api/Owners.Write.Api/Owners.Write.Api.csproj", "src/2-Services/Owners/Api/Owners.Write.Api/"] COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] -COPY ["src/2-Services/Owners/Write/Libraries/Infrastructure/Infrastructure.csproj", "src/2-Services/Owners/Write/Libraries/Infrastructure/"] -COPY ["src/2-Services/Owners/Write/Libraries/Application/Application.csproj", "src/2-Services/Owners/Write/Libraries/Application/"] -COPY ["src/2-Services/Owners/Write/Libraries/Domain/Domain.csproj", "src/2-Services/Owners/Write/Libraries/Domain/"] -RUN dotnet restore "src/2-Services/Owners/Write/Api/Owners.Write.Api/Owners.Write.Api.csproj" +RUN dotnet restore "src/2-Services/Owners/Api/Owners.Write.Api/Owners.Write.Api.csproj" COPY . . -WORKDIR "/src/src/2-Services/Owners/Write/Api/Owners.Write.Api" +WORKDIR "/src/src/2-Services/Owners/Api/Owners.Write.Api" RUN dotnet build "Owners.Write.Api.csproj" -c Release -o /app/build FROM build AS publish diff --git a/src/2-Services/Owners/Api/Owners.Write.Api/Dockerfile.original b/src/2-Services/Owners/Api/Owners.Write.Api/Dockerfile.original new file mode 100644 index 000000000..0bf577476 --- /dev/null +++ b/src/2-Services/Owners/Api/Owners.Write.Api/Dockerfile.original @@ -0,0 +1,31 @@ +#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. + +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +WORKDIR /app +EXPOSE 80 +EXPOSE 443 + +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +WORKDIR /src +COPY ["src/2-Services/Owners/Api/Owners.Write.Api/Owners.Write.Api.csproj", "src/2-Services/Owners/Api/Owners.Write.Api/"] +COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] +COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] +COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] +COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] +COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] +COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] +COPY ["src/2-Services/Owners/Write/Libraries/Infrastructure/Infrastructure.csproj", "src/2-Services/Owners/Write/Libraries/Infrastructure/"] +COPY ["src/2-Services/Owners/Write/Libraries/Application/Application.csproj", "src/2-Services/Owners/Write/Libraries/Application/"] +COPY ["src/2-Services/Owners/Write/Libraries/Domain/Domain.csproj", "src/2-Services/Owners/Write/Libraries/Domain/"] +RUN dotnet restore "src/2-Services/Owners/Api/Owners.Write.Api/Owners.Write.Api.csproj" +COPY . . +WORKDIR "/src/src/2-Services/Owners/Api/Owners.Write.Api" +RUN dotnet build "Owners.Write.Api.csproj" -c Release -o /app/build + +FROM build AS publish +RUN dotnet publish "Owners.Write.Api.csproj" -c Release -o /app/publish /p:UseAppHost=false + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "TaskoMask.Services.Owners.Write.Api.dll"] \ No newline at end of file diff --git a/src/2-Services/Tasks/Api/Tasks.Read.Api/Dockerfile b/src/2-Services/Tasks/Api/Tasks.Read.Api/Dockerfile index f2c97efcf..862f8deda 100644 --- a/src/2-Services/Tasks/Api/Tasks.Read.Api/Dockerfile +++ b/src/2-Services/Tasks/Api/Tasks.Read.Api/Dockerfile @@ -1,4 +1,4 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app @@ -7,16 +7,17 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src -COPY ["src/2-Services/Tasks/Read/Api/Tasks.Read.Api/Tasks.Read.Api.csproj", "src/2-Services/Tasks/Read/Api/Tasks.Read.Api/"] +COPY ["Directory.Build.props", "."] +COPY ["src/2-Services/Tasks/Api/Tasks.Read.Api/Tasks.Read.Api.csproj", "src/2-Services/Tasks/Api/Tasks.Read.Api/"] COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] -RUN dotnet restore "src/2-Services/Tasks/Read/Api/Tasks.Read.Api/Tasks.Read.Api.csproj" +RUN dotnet restore "src/2-Services/Tasks/Api/Tasks.Read.Api/Tasks.Read.Api.csproj" COPY . . -WORKDIR "/src/src/2-Services/Tasks/Read/Api/Tasks.Read.Api" +WORKDIR "/src/src/2-Services/Tasks/Api/Tasks.Read.Api" RUN dotnet build "Tasks.Read.Api.csproj" -c Release -o /app/build FROM build AS publish diff --git a/src/2-Services/Tasks/Api/Tasks.Read.Api/Dockerfile.original b/src/2-Services/Tasks/Api/Tasks.Read.Api/Dockerfile.original new file mode 100644 index 000000000..e62141b6b --- /dev/null +++ b/src/2-Services/Tasks/Api/Tasks.Read.Api/Dockerfile.original @@ -0,0 +1,28 @@ +#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. + +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +WORKDIR /app +EXPOSE 80 +EXPOSE 443 + +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +WORKDIR /src +COPY ["src/2-Services/Tasks/Api/Tasks.Read.Api/Tasks.Read.Api.csproj", "src/2-Services/Tasks/Api/Tasks.Read.Api/"] +COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] +COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] +COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] +COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] +COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] +COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] +RUN dotnet restore "src/2-Services/Tasks/Api/Tasks.Read.Api/Tasks.Read.Api.csproj" +COPY . . +WORKDIR "/src/src/2-Services/Tasks/Api/Tasks.Read.Api" +RUN dotnet build "Tasks.Read.Api.csproj" -c Release -o /app/build + +FROM build AS publish +RUN dotnet publish "Tasks.Read.Api.csproj" -c Release -o /app/publish /p:UseAppHost=false + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "TaskoMask.Services.Tasks.Read.Api.dll"] \ No newline at end of file diff --git a/src/2-Services/Tasks/Api/Tasks.Write.Api/Dockerfile b/src/2-Services/Tasks/Api/Tasks.Write.Api/Dockerfile index ece47573e..46aff4216 100644 --- a/src/2-Services/Tasks/Api/Tasks.Write.Api/Dockerfile +++ b/src/2-Services/Tasks/Api/Tasks.Write.Api/Dockerfile @@ -1,4 +1,4 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app @@ -7,19 +7,17 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src -COPY ["src/2-Services/Tasks/Write/Api/Tasks.Write.Api/Tasks.Write.Api.csproj", "src/2-Services/Tasks/Write/Api/Tasks.Write.Api/"] +COPY ["Directory.Build.props", "."] +COPY ["src/2-Services/Tasks/Api/Tasks.Write.Api/Tasks.Write.Api.csproj", "src/2-Services/Tasks/Api/Tasks.Write.Api/"] COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] -COPY ["src/2-Services/Tasks/Write/Libraries/Infrastructure/Infrastructure.csproj", "src/2-Services/Tasks/Write/Libraries/Infrastructure/"] -COPY ["src/2-Services/Tasks/Write/Libraries/Application/Application.csproj", "src/2-Services/Tasks/Write/Libraries/Application/"] -COPY ["src/2-Services/Tasks/Write/Libraries/Domain/Domain.csproj", "src/2-Services/Tasks/Write/Libraries/Domain/"] -RUN dotnet restore "src/2-Services/Tasks/Write/Api/Tasks.Write.Api/Tasks.Write.Api.csproj" +RUN dotnet restore "src/2-Services/Tasks/Api/Tasks.Write.Api/Tasks.Write.Api.csproj" COPY . . -WORKDIR "/src/src/2-Services/Tasks/Write/Api/Tasks.Write.Api" +WORKDIR "/src/src/2-Services/Tasks/Api/Tasks.Write.Api" RUN dotnet build "Tasks.Write.Api.csproj" -c Release -o /app/build FROM build AS publish diff --git a/src/2-Services/Tasks/Api/Tasks.Write.Api/Dockerfile.original b/src/2-Services/Tasks/Api/Tasks.Write.Api/Dockerfile.original new file mode 100644 index 000000000..ac53dbb12 --- /dev/null +++ b/src/2-Services/Tasks/Api/Tasks.Write.Api/Dockerfile.original @@ -0,0 +1,31 @@ +#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. + +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +WORKDIR /app +EXPOSE 80 +EXPOSE 443 + +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +WORKDIR /src +COPY ["src/2-Services/Tasks/Api/Tasks.Write.Api/Tasks.Write.Api.csproj", "src/2-Services/Tasks/Api/Tasks.Write.Api/"] +COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] +COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] +COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] +COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] +COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] +COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] +COPY ["src/2-Services/Tasks/Write/Libraries/Infrastructure/Infrastructure.csproj", "src/2-Services/Tasks/Write/Libraries/Infrastructure/"] +COPY ["src/2-Services/Tasks/Write/Libraries/Application/Application.csproj", "src/2-Services/Tasks/Write/Libraries/Application/"] +COPY ["src/2-Services/Tasks/Write/Libraries/Domain/Domain.csproj", "src/2-Services/Tasks/Write/Libraries/Domain/"] +RUN dotnet restore "src/2-Services/Tasks/Api/Tasks.Write.Api/Tasks.Write.Api.csproj" +COPY . . +WORKDIR "/src/src/2-Services/Tasks/Api/Tasks.Write.Api" +RUN dotnet build "Tasks.Write.Api.csproj" -c Release -o /app/build + +FROM build AS publish +RUN dotnet publish "Tasks.Write.Api.csproj" -c Release -o /app/publish /p:UseAppHost=false + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "TaskoMask.Services.Tasks.Write.Api.dll"] \ No newline at end of file diff --git a/src/3-ApiGateways/UserPanel/Aggregator/Dockerfile b/src/3-ApiGateways/UserPanel/Aggregator/Dockerfile index 761a82f2c..eb9ea081f 100644 --- a/src/3-ApiGateways/UserPanel/Aggregator/Dockerfile +++ b/src/3-ApiGateways/UserPanel/Aggregator/Dockerfile @@ -1,4 +1,4 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app @@ -7,6 +7,7 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src +COPY ["Directory.Build.props", "."] COPY ["src/3-ApiGateways/UserPanel/Aggregator/Aggregator.csproj", "src/3-ApiGateways/UserPanel/Aggregator/"] COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] diff --git a/src/3-ApiGateways/UserPanel/ApiGateway/Dockerfile b/src/3-ApiGateways/UserPanel/ApiGateway/Dockerfile index 7b01240e7..bfbf5391e 100644 --- a/src/3-ApiGateways/UserPanel/ApiGateway/Dockerfile +++ b/src/3-ApiGateways/UserPanel/ApiGateway/Dockerfile @@ -1,4 +1,4 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app @@ -7,6 +7,7 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src +COPY ["Directory.Build.props", "."] COPY ["src/3-ApiGateways/UserPanel/ApiGateway/ApiGateway.csproj", "src/3-ApiGateways/UserPanel/ApiGateway/"] COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] diff --git a/src/4-Clients/Website/Dockerfile b/src/4-Clients/Website/Dockerfile index 75f310369..43cb40c46 100644 --- a/src/4-Clients/Website/Dockerfile +++ b/src/4-Clients/Website/Dockerfile @@ -1,4 +1,4 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app @@ -7,10 +7,14 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src +COPY ["Directory.Build.props", "."] COPY ["src/4-Clients/Website/Website.csproj", "src/4-Clients/Website/"] COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] -COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] +COPY ["src/1-BuildingBlocks/Infrastructure/Infrastructure.csproj", "src/1-BuildingBlocks/Infrastructure/"] +COPY ["src/1-BuildingBlocks/Application/Application.csproj", "src/1-BuildingBlocks/Application/"] +COPY ["src/1-BuildingBlocks/Domain/Domain.csproj", "src/1-BuildingBlocks/Domain/"] COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] +COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] RUN dotnet restore "src/4-Clients/Website/Website.csproj" COPY . . WORKDIR "/src/src/4-Clients/Website" diff --git a/src/4-Clients/Website/Dockerfile.original b/src/4-Clients/Website/Dockerfile.original new file mode 100644 index 000000000..75f310369 --- /dev/null +++ b/src/4-Clients/Website/Dockerfile.original @@ -0,0 +1,25 @@ +#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. + +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +WORKDIR /app +EXPOSE 80 +EXPOSE 443 + +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +WORKDIR /src +COPY ["src/4-Clients/Website/Website.csproj", "src/4-Clients/Website/"] +COPY ["src/1-BuildingBlocks/Web.MVC/Web.MVC.csproj", "src/1-BuildingBlocks/Web.MVC/"] +COPY ["src/1-BuildingBlocks/Web/Web.csproj", "src/1-BuildingBlocks/Web/"] +COPY ["src/1-BuildingBlocks/Contracts/Contracts.csproj", "src/1-BuildingBlocks/Contracts/"] +RUN dotnet restore "src/4-Clients/Website/Website.csproj" +COPY . . +WORKDIR "/src/src/4-Clients/Website" +RUN dotnet build "Website.csproj" -c Release -o /app/build + +FROM build AS publish +RUN dotnet publish "Website.csproj" -c Release -o /app/publish /p:UseAppHost=false + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "TaskoMask.Clients.Website.dll"] \ No newline at end of file diff --git a/src/7-Docker/docker-compose.yml b/src/7-Docker/docker-compose.yml index 55737792f..469457391 100644 --- a/src/7-Docker/docker-compose.yml +++ b/src/7-Docker/docker-compose.yml @@ -50,11 +50,12 @@ services: container_name: sql image: mcr.microsoft.com/mssql/server restart: unless-stopped + user: root environment: - SA_PASSWORD: "Your_password123" - ACCEPT_EULA: "Y" - networks: - - taskomask-network + SA_PASSWORD: "Your_pass_!@2#33" + ACCEPT_EULA: "Y" + ports: + - "1433:1433" volumes: - sql:/var/opt/mssql/data @@ -77,7 +78,7 @@ services: RabbitMQ__Host: "rabbitmq" build: context: ../.. - dockerfile: src/2-Services/Owners/Read/Api/Owners.Read.Api/Dockerfile + dockerfile: src/2-Services/Owners/Api/Owners.Read.Api/Dockerfile ports: - 5020:80 - 5021:443 @@ -98,7 +99,7 @@ services: RabbitMQ__Host: "rabbitmq" build: context: ../.. - dockerfile: src/2-Services/Owners/Read/Api/Owners.Read.Api/Dockerfile + dockerfile: src/2-Services/Owners/Api/Owners.Read.Api/Dockerfile ports: - 5018:80 - 5019:443 @@ -119,7 +120,7 @@ services: RabbitMQ__Host: "rabbitmq" build: context: ../.. - dockerfile: src/2-Services/Boards/Read/Api/Boards.Read.Api/Dockerfile + dockerfile: src/2-Services/Boards/Api/Boards.Read.Api/Dockerfile ports: - 5024:80 - 5025:443 @@ -140,7 +141,7 @@ services: RabbitMQ__Host: "rabbitmq" build: context: ../.. - dockerfile: src/2-Services/Boards/Read/Api/Boards.Write.Api/Dockerfile + dockerfile: src/2-Services/Boards/Api/Boards.Write.Api/Dockerfile ports: - 5022:80 - 5023:443 @@ -161,7 +162,7 @@ services: RabbitMQ__Host: "rabbitmq" build: context: ../.. - dockerfile: src/2-Services/Tasks/Read/Api/Tasks.Read.Api/Dockerfile + dockerfile: src/2-Services/Tasks/Api/Tasks.Read.Api/Dockerfile ports: - 5028:80 - 5029:443 @@ -182,7 +183,7 @@ services: RabbitMQ__Host: "rabbitmq" build: context: ../.. - dockerfile: src/2-Services/Tasks/Read/Api/Tasks.Write.Api/Dockerfile + dockerfile: src/2-Services/Tasks/Api/Tasks.Write.Api/Dockerfile ports: - 5026:80 - 5027:443