diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 00000000..fe1152bd
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,30 @@
+**/.classpath
+**/.dockerignore
+**/.env
+**/.git
+**/.gitignore
+**/.project
+**/.settings
+**/.toolstarget
+**/.vs
+**/.vscode
+**/*.*proj.user
+**/*.dbmdl
+**/*.jfm
+**/azds.yaml
+**/bin
+**/charts
+**/docker-compose*
+**/Dockerfile*
+**/node_modules
+**/npm-debug.log
+**/obj
+**/secrets.dev.yaml
+**/values.dev.yaml
+LICENSE
+README.md
+!**/.gitignore
+!.git/HEAD
+!.git/config
+!.git/packed-refs
+!.git/refs/heads/**
\ No newline at end of file
diff --git a/Directory.Build.props b/Directory.Build.props
new file mode 100644
index 00000000..a95ac958
--- /dev/null
+++ b/Directory.Build.props
@@ -0,0 +1,5 @@
+
+
+ latest
+
+
\ No newline at end of file
diff --git a/Framework/YCompany.Claims.Caching/YCompany.Caching.csproj b/Framework/YCompany.Claims.Caching/YCompany.Caching.csproj
index 132c02c5..db117e57 100644
--- a/Framework/YCompany.Claims.Caching/YCompany.Caching.csproj
+++ b/Framework/YCompany.Claims.Caching/YCompany.Caching.csproj
@@ -1,9 +1,10 @@
- net6.0
+ net8.0
enable
enable
+ latest
diff --git a/Framework/YCompany.Claims.ExceptionHandling/YCompany.ExceptionHandling.csproj b/Framework/YCompany.Claims.ExceptionHandling/YCompany.ExceptionHandling.csproj
index dba68ba9..8e57fe19 100644
--- a/Framework/YCompany.Claims.ExceptionHandling/YCompany.ExceptionHandling.csproj
+++ b/Framework/YCompany.Claims.ExceptionHandling/YCompany.ExceptionHandling.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Framework/YCompany.Claims.Logging/YCompany.Logging.csproj b/Framework/YCompany.Claims.Logging/YCompany.Logging.csproj
index 611de925..06cd655b 100644
--- a/Framework/YCompany.Claims.Logging/YCompany.Logging.csproj
+++ b/Framework/YCompany.Claims.Logging/YCompany.Logging.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Framework/YCompany.Claims.MessagingQueue/YCompany.MessagingQueue.csproj b/Framework/YCompany.Claims.MessagingQueue/YCompany.MessagingQueue.csproj
index 132c02c5..30402ac0 100644
--- a/Framework/YCompany.Claims.MessagingQueue/YCompany.MessagingQueue.csproj
+++ b/Framework/YCompany.Claims.MessagingQueue/YCompany.MessagingQueue.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Framework/YCompany.HealthChecks/YCompany.HealthChecks.csproj b/Framework/YCompany.HealthChecks/YCompany.HealthChecks.csproj
index d458b61e..91e9a9c2 100644
--- a/Framework/YCompany.HealthChecks/YCompany.HealthChecks.csproj
+++ b/Framework/YCompany.HealthChecks/YCompany.HealthChecks.csproj
@@ -1,13 +1,13 @@
- net6.0
+ net8.0
enable
enable
-
+
diff --git a/Services/YCompanyClaimsAPI/YCompany.Claims.DataAccess/YCompany.Claims.DataAccess.csproj b/Services/YCompanyClaimsAPI/YCompany.Claims.DataAccess/YCompany.Claims.DataAccess.csproj
index c910a3c8..994ee416 100644
--- a/Services/YCompanyClaimsAPI/YCompany.Claims.DataAccess/YCompany.Claims.DataAccess.csproj
+++ b/Services/YCompanyClaimsAPI/YCompany.Claims.DataAccess/YCompany.Claims.DataAccess.csproj
@@ -1,13 +1,13 @@
- net6.0
+ net8.0
enable
enable
-
+
diff --git a/Services/YCompanyClaimsAPI/YCompany.Claims.Domain/YCompany.Claims.Domain.csproj b/Services/YCompanyClaimsAPI/YCompany.Claims.Domain/YCompany.Claims.Domain.csproj
index bbce8511..76726793 100644
--- a/Services/YCompanyClaimsAPI/YCompany.Claims.Domain/YCompany.Claims.Domain.csproj
+++ b/Services/YCompanyClaimsAPI/YCompany.Claims.Domain/YCompany.Claims.Domain.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyClaimsAPI/YCompany.Claims.Infrastructure/YCompany.Claims.Infrastructure.csproj b/Services/YCompanyClaimsAPI/YCompany.Claims.Infrastructure/YCompany.Claims.Infrastructure.csproj
index a60a5a58..087e298a 100644
--- a/Services/YCompanyClaimsAPI/YCompany.Claims.Infrastructure/YCompany.Claims.Infrastructure.csproj
+++ b/Services/YCompanyClaimsAPI/YCompany.Claims.Infrastructure/YCompany.Claims.Infrastructure.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyClaimsAPI/YCompany.Claims.Services/YCompany.Claims.Services.csproj b/Services/YCompanyClaimsAPI/YCompany.Claims.Services/YCompany.Claims.Services.csproj
index 0daaa433..c5f010c0 100644
--- a/Services/YCompanyClaimsAPI/YCompany.Claims.Services/YCompany.Claims.Services.csproj
+++ b/Services/YCompanyClaimsAPI/YCompany.Claims.Services/YCompany.Claims.Services.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/Dockerfile b/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/Dockerfile
new file mode 100644
index 00000000..7fc0e0d5
--- /dev/null
+++ b/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/Dockerfile
@@ -0,0 +1,31 @@
+#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:8.0 AS base
+USER app
+WORKDIR /app
+EXPOSE 8080
+EXPOSE 8081
+
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
+ARG BUILD_CONFIGURATION=Release
+WORKDIR /src
+COPY ["Services/YCompanyClaimsAPI/YCompanyClaimsAPI/YCompanyClaimsAPI.csproj", "Services/YCompanyClaimsAPI/YCompanyClaimsAPI/"]
+COPY ["Framework/YCompany.Claims.ExceptionHandling/YCompany.ExceptionHandling.csproj", "Framework/YCompany.Claims.ExceptionHandling/"]
+COPY ["Framework/YCompany.Claims.Logging/YCompany.Logging.csproj", "Framework/YCompany.Claims.Logging/"]
+COPY ["Framework/YCompany.Claims.MessagingQueue/YCompany.MessagingQueue.csproj", "Framework/YCompany.Claims.MessagingQueue/"]
+COPY ["Services/YCompanyClaimsAPI/YCompany.Claims.DataAccess/YCompany.Claims.DataAccess.csproj", "Services/YCompanyClaimsAPI/YCompany.Claims.DataAccess/"]
+COPY ["Services/YCompanyClaimsAPI/YCompany.Claims.Domain/YCompany.Claims.Domain.csproj", "Services/YCompanyClaimsAPI/YCompany.Claims.Domain/"]
+COPY ["Framework/YCompany.HealthChecks/YCompany.HealthChecks.csproj", "Framework/YCompany.HealthChecks/"]
+RUN dotnet restore "./Services/YCompanyClaimsAPI/YCompanyClaimsAPI/YCompanyClaimsAPI.csproj"
+COPY . .
+WORKDIR "/src/Services/YCompanyClaimsAPI/YCompanyClaimsAPI"
+RUN dotnet build "./YCompanyClaimsAPI.csproj" -c $BUILD_CONFIGURATION -o /app/build
+
+FROM build AS publish
+ARG BUILD_CONFIGURATION=Release
+RUN dotnet publish "./YCompanyClaimsAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
+
+FROM base AS final
+WORKDIR /app
+COPY --from=publish /app/publish .
+ENTRYPOINT ["dotnet", "YCompanyClaimsAPI.dll"]
\ No newline at end of file
diff --git a/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/Properties/launchSettings.json b/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/Properties/launchSettings.json
index d0154ff8..4f1f889b 100644
--- a/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/Properties/launchSettings.json
+++ b/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/Properties/launchSettings.json
@@ -1,23 +1,14 @@
-{
- "$schema": "https://json.schemastore.org/launchsettings.json",
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:44492",
- "sslPort": 44322
- }
- },
+{
"profiles": {
"YCompanyClaimsAPI": {
"commandName": "Project",
- "dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
- "applicationUrl": "https://localhost:7047;http://localhost:5120",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
- }
+ },
+ "dotnetRunMessages": true,
+ "applicationUrl": "https://localhost:7047;http://localhost:5120"
},
"IIS Express": {
"commandName": "IISExpress",
@@ -26,6 +17,26 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
+ },
+ "Container (Dockerfile)": {
+ "commandName": "Docker",
+ "launchBrowser": true,
+ "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger",
+ "environmentVariables": {
+ "ASPNETCORE_HTTPS_PORTS": "8081",
+ "ASPNETCORE_HTTP_PORTS": "8080"
+ },
+ "publishAllPorts": true,
+ "useSSL": true
+ }
+ },
+ "$schema": "https://json.schemastore.org/launchsettings.json",
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:44492",
+ "sslPort": 44322
}
}
-}
+}
\ No newline at end of file
diff --git a/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/YCompanyClaimsAPI.csproj b/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/YCompanyClaimsAPI.csproj
index 6075ffdf..ffd5ccf9 100644
--- a/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/YCompanyClaimsAPI.csproj
+++ b/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/YCompanyClaimsAPI.csproj
@@ -1,13 +1,18 @@
- net6.0
+ net8.0
enable
enable
+ 8015be99-09d4-4e64-85ef-926fcce0be02
+ Linux
+ ..\..\..
+ ..\..\..\docker-compose.dcproj
+
diff --git a/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/YCompanyClaimsAPI.csproj.user b/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/YCompanyClaimsAPI.csproj.user
index efbdd2d3..ebfb2fca 100644
--- a/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/YCompanyClaimsAPI.csproj.user
+++ b/Services/YCompanyClaimsAPI/YCompanyClaimsAPI/YCompanyClaimsAPI.csproj.user
@@ -3,5 +3,6 @@
ApiControllerEmptyScaffolder
root/Common/Api
+ Container (Dockerfile)
\ No newline at end of file
diff --git a/Services/YCompanyCommunicationsAPI/YCompany.Communications.DataAccess/YCompany.Communications.DataAccess.csproj b/Services/YCompanyCommunicationsAPI/YCompany.Communications.DataAccess/YCompany.Communications.DataAccess.csproj
index 1f893e34..b9f23272 100644
--- a/Services/YCompanyCommunicationsAPI/YCompany.Communications.DataAccess/YCompany.Communications.DataAccess.csproj
+++ b/Services/YCompanyCommunicationsAPI/YCompany.Communications.DataAccess/YCompany.Communications.DataAccess.csproj
@@ -1,13 +1,13 @@
- net6.0
+ net8.0
enable
enable
-
+
diff --git a/Services/YCompanyCommunicationsAPI/YCompany.Communications.Domain/YCompany.Communications.Domain.csproj b/Services/YCompanyCommunicationsAPI/YCompany.Communications.Domain/YCompany.Communications.Domain.csproj
index bbce8511..76726793 100644
--- a/Services/YCompanyCommunicationsAPI/YCompany.Communications.Domain/YCompany.Communications.Domain.csproj
+++ b/Services/YCompanyCommunicationsAPI/YCompany.Communications.Domain/YCompany.Communications.Domain.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyCommunicationsAPI/YCompany.Communications.Infrastructure/YCompany.Communications.Infrastructure.csproj b/Services/YCompanyCommunicationsAPI/YCompany.Communications.Infrastructure/YCompany.Communications.Infrastructure.csproj
index 132c02c5..30402ac0 100644
--- a/Services/YCompanyCommunicationsAPI/YCompany.Communications.Infrastructure/YCompany.Communications.Infrastructure.csproj
+++ b/Services/YCompanyCommunicationsAPI/YCompany.Communications.Infrastructure/YCompany.Communications.Infrastructure.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyCommunicationsAPI/YCompany.Communications.Services/YCompany.Communications.Services.csproj b/Services/YCompanyCommunicationsAPI/YCompany.Communications.Services/YCompany.Communications.Services.csproj
index 132c02c5..30402ac0 100644
--- a/Services/YCompanyCommunicationsAPI/YCompany.Communications.Services/YCompany.Communications.Services.csproj
+++ b/Services/YCompanyCommunicationsAPI/YCompany.Communications.Services/YCompany.Communications.Services.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/Dockerfile b/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/Dockerfile
new file mode 100644
index 00000000..019a808c
--- /dev/null
+++ b/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/Dockerfile
@@ -0,0 +1,25 @@
+#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:8.0 AS base
+USER app
+WORKDIR /app
+EXPOSE 8080
+EXPOSE 8081
+
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
+ARG BUILD_CONFIGURATION=Release
+WORKDIR /src
+COPY ["Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI.csproj", "Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/"]
+RUN dotnet restore "./Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI.csproj"
+COPY . .
+WORKDIR "/src/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI"
+RUN dotnet build "./YCompanyCommunicationsAPI.csproj" -c $BUILD_CONFIGURATION -o /app/build
+
+FROM build AS publish
+ARG BUILD_CONFIGURATION=Release
+RUN dotnet publish "./YCompanyCommunicationsAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
+
+FROM base AS final
+WORKDIR /app
+COPY --from=publish /app/publish .
+ENTRYPOINT ["dotnet", "YCompanyCommunicationsAPI.dll"]
\ No newline at end of file
diff --git a/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/Properties/launchSettings.json b/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/Properties/launchSettings.json
index 4b830594..bc258d4c 100644
--- a/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/Properties/launchSettings.json
+++ b/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/Properties/launchSettings.json
@@ -1,23 +1,14 @@
-{
- "$schema": "https://json.schemastore.org/launchsettings.json",
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:36792",
- "sslPort": 44346
- }
- },
+{
"profiles": {
"YCompanyCommunicationsAPI": {
"commandName": "Project",
- "dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
- "applicationUrl": "https://localhost:7189;http://localhost:5099",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
- }
+ },
+ "dotnetRunMessages": true,
+ "applicationUrl": "https://localhost:7189;http://localhost:5099"
},
"IIS Express": {
"commandName": "IISExpress",
@@ -26,6 +17,26 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
+ },
+ "Container (Dockerfile)": {
+ "commandName": "Docker",
+ "launchBrowser": true,
+ "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger",
+ "environmentVariables": {
+ "ASPNETCORE_HTTPS_PORTS": "8081",
+ "ASPNETCORE_HTTP_PORTS": "8080"
+ },
+ "publishAllPorts": true,
+ "useSSL": true
+ }
+ },
+ "$schema": "https://json.schemastore.org/launchsettings.json",
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:36792",
+ "sslPort": 44346
}
}
-}
+}
\ No newline at end of file
diff --git a/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI.csproj b/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI.csproj
index af9e2756..975c6bc8 100644
--- a/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI.csproj
+++ b/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI.csproj
@@ -1,14 +1,19 @@
- net6.0
+ net8.0
enable
enable
+ 0ea8991d-d2a8-4581-9549-90dfa7395eb7
+ Linux
+ ..\..\..
+ ..\..\..\docker-compose.dcproj
+
diff --git a/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI.csproj.user b/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI.csproj.user
index 8d464bae..e0942c1e 100644
--- a/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI.csproj.user
+++ b/Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI.csproj.user
@@ -3,5 +3,6 @@
ApiControllerEmptyScaffolder
root/Common/Api
+ Container (Dockerfile)
\ No newline at end of file
diff --git a/Services/YCompanyIdentityServer/YCompany.Identity.DataAccess/YCompany.Identity.DataAccess.csproj b/Services/YCompanyIdentityServer/YCompany.Identity.DataAccess/YCompany.Identity.DataAccess.csproj
index b03892c1..597065df 100644
--- a/Services/YCompanyIdentityServer/YCompany.Identity.DataAccess/YCompany.Identity.DataAccess.csproj
+++ b/Services/YCompanyIdentityServer/YCompany.Identity.DataAccess/YCompany.Identity.DataAccess.csproj
@@ -1,13 +1,13 @@
- net6.0
+ net8.0
enable
enable
-
+
diff --git a/Services/YCompanyIdentityServer/YCompany.Identity.Domain/YCompany.Identity.Domain.csproj b/Services/YCompanyIdentityServer/YCompany.Identity.Domain/YCompany.Identity.Domain.csproj
index 132c02c5..30402ac0 100644
--- a/Services/YCompanyIdentityServer/YCompany.Identity.Domain/YCompany.Identity.Domain.csproj
+++ b/Services/YCompanyIdentityServer/YCompany.Identity.Domain/YCompany.Identity.Domain.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyIdentityServer/YCompany.Identity.Infrastructure/YCompany.Identity.Infrastructure.csproj b/Services/YCompanyIdentityServer/YCompany.Identity.Infrastructure/YCompany.Identity.Infrastructure.csproj
index e94caaaf..c8415dfd 100644
--- a/Services/YCompanyIdentityServer/YCompany.Identity.Infrastructure/YCompany.Identity.Infrastructure.csproj
+++ b/Services/YCompanyIdentityServer/YCompany.Identity.Infrastructure/YCompany.Identity.Infrastructure.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyIdentityServer/YCompany.Identity.Services/YCompany.Identity.Services.csproj b/Services/YCompanyIdentityServer/YCompany.Identity.Services/YCompany.Identity.Services.csproj
index e94caaaf..c8415dfd 100644
--- a/Services/YCompanyIdentityServer/YCompany.Identity.Services/YCompany.Identity.Services.csproj
+++ b/Services/YCompanyIdentityServer/YCompany.Identity.Services/YCompany.Identity.Services.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyIdentityServer/YCompanyIdentityServer/Dockerfile b/Services/YCompanyIdentityServer/YCompanyIdentityServer/Dockerfile
new file mode 100644
index 00000000..f30d2d07
--- /dev/null
+++ b/Services/YCompanyIdentityServer/YCompanyIdentityServer/Dockerfile
@@ -0,0 +1,29 @@
+#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:8.0 AS base
+WORKDIR /app
+EXPOSE 80
+EXPOSE 443
+
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
+ARG BUILD_CONFIGURATION=Release
+WORKDIR /src
+COPY ["Services/YCompanyIdentityServer/YCompanyIdentityServer/YCompanyIdentityServer.csproj", "Services/YCompanyIdentityServer/YCompanyIdentityServer/"]
+COPY ["Framework/YCompany.Claims.Caching/YCompany.Caching.csproj", "Framework/YCompany.Claims.Caching/"]
+COPY ["Framework/YCompany.Claims.ExceptionHandling/YCompany.ExceptionHandling.csproj", "Framework/YCompany.Claims.ExceptionHandling/"]
+COPY ["Framework/YCompany.Claims.Logging/YCompany.Logging.csproj", "Framework/YCompany.Claims.Logging/"]
+COPY ["Framework/YCompany.Claims.MessagingQueue/YCompany.MessagingQueue.csproj", "Framework/YCompany.Claims.MessagingQueue/"]
+COPY ["Framework/YCompany.HealthChecks/YCompany.HealthChecks.csproj", "Framework/YCompany.HealthChecks/"]
+RUN dotnet restore "./Services/YCompanyIdentityServer/YCompanyIdentityServer/YCompanyIdentityServer.csproj"
+COPY . .
+WORKDIR "/src/Services/YCompanyIdentityServer/YCompanyIdentityServer"
+RUN dotnet build "./YCompanyIdentityServer.csproj" -c $BUILD_CONFIGURATION -o /app/build
+
+FROM build AS publish
+ARG BUILD_CONFIGURATION=Release
+RUN dotnet publish "./YCompanyIdentityServer.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
+
+FROM base AS final
+WORKDIR /app
+COPY --from=publish /app/publish .
+ENTRYPOINT ["dotnet", "YCompanyIdentityServer.dll"]
\ No newline at end of file
diff --git a/Services/YCompanyIdentityServer/YCompanyIdentityServer/Properties/launchSettings.json b/Services/YCompanyIdentityServer/YCompanyIdentityServer/Properties/launchSettings.json
index fb2a7c67..d80b76ec 100644
--- a/Services/YCompanyIdentityServer/YCompanyIdentityServer/Properties/launchSettings.json
+++ b/Services/YCompanyIdentityServer/YCompanyIdentityServer/Properties/launchSettings.json
@@ -1,21 +1,13 @@
-{
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:57728",
- "sslPort": 44305
- }
- },
+{
"profiles": {
"YCompanyIdentityServer": {
"commandName": "Project",
- "dotnetRunMessages": true,
"launchBrowser": true,
- "applicationUrl": "https://localhost:7000;http://localhost:5263",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
- }
+ },
+ "dotnetRunMessages": true,
+ "applicationUrl": "https://localhost:7000;http://localhost:5263"
},
"IIS Express": {
"commandName": "IISExpress",
@@ -23,6 +15,24 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
+ },
+ "Container (Dockerfile)": {
+ "commandName": "Docker",
+ "launchBrowser": true,
+ "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
+ "environmentVariables": {
+ "ASPNETCORE_URLS": "https://+:443;http://+:80"
+ },
+ "publishAllPorts": true,
+ "useSSL": true
+ }
+ },
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:57728",
+ "sslPort": 44305
}
}
-}
+}
\ No newline at end of file
diff --git a/Services/YCompanyIdentityServer/YCompanyIdentityServer/YCompanyIdentityServer.csproj b/Services/YCompanyIdentityServer/YCompanyIdentityServer/YCompanyIdentityServer.csproj
index b41f8f0d..d054839d 100644
--- a/Services/YCompanyIdentityServer/YCompanyIdentityServer/YCompanyIdentityServer.csproj
+++ b/Services/YCompanyIdentityServer/YCompanyIdentityServer/YCompanyIdentityServer.csproj
@@ -1,9 +1,13 @@
- net7.0
+ net8.0
enable
enable
+ 750eeacd-3d0c-496f-8dd5-95833ad39ab8
+ Linux
+ ..\..\..
+ ..\..\..\docker-compose.dcproj
@@ -12,12 +16,13 @@
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
+
diff --git a/Services/YCompanyIdentityServer/YCompanyIdentityServer/YCompanyIdentityServer.csproj.user b/Services/YCompanyIdentityServer/YCompanyIdentityServer/YCompanyIdentityServer.csproj.user
new file mode 100644
index 00000000..dd2d54cf
--- /dev/null
+++ b/Services/YCompanyIdentityServer/YCompanyIdentityServer/YCompanyIdentityServer.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ Container (Dockerfile)
+
+
\ No newline at end of file
diff --git a/Services/YCompanyPaymentsAPI/YCompany.Payments.DataAccess/YCompany.Payments.DataAccess.csproj b/Services/YCompanyPaymentsAPI/YCompany.Payments.DataAccess/YCompany.Payments.DataAccess.csproj
index 6e206f1a..174c3e93 100644
--- a/Services/YCompanyPaymentsAPI/YCompany.Payments.DataAccess/YCompany.Payments.DataAccess.csproj
+++ b/Services/YCompanyPaymentsAPI/YCompany.Payments.DataAccess/YCompany.Payments.DataAccess.csproj
@@ -1,13 +1,13 @@
- net6.0
+ net8.0
enable
enable
-
+
diff --git a/Services/YCompanyPaymentsAPI/YCompany.Payments.Domain/YCompany.Payments.Domain.csproj b/Services/YCompanyPaymentsAPI/YCompany.Payments.Domain/YCompany.Payments.Domain.csproj
index bbce8511..76726793 100644
--- a/Services/YCompanyPaymentsAPI/YCompany.Payments.Domain/YCompany.Payments.Domain.csproj
+++ b/Services/YCompanyPaymentsAPI/YCompany.Payments.Domain/YCompany.Payments.Domain.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyPaymentsAPI/YCompany.Payments.Infrastructure/YCompany.Payments.Infrastructure.csproj b/Services/YCompanyPaymentsAPI/YCompany.Payments.Infrastructure/YCompany.Payments.Infrastructure.csproj
index 132c02c5..30402ac0 100644
--- a/Services/YCompanyPaymentsAPI/YCompany.Payments.Infrastructure/YCompany.Payments.Infrastructure.csproj
+++ b/Services/YCompanyPaymentsAPI/YCompany.Payments.Infrastructure/YCompany.Payments.Infrastructure.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyPaymentsAPI/YCompany.Payments.Services/YCompany.Payments.Services.csproj b/Services/YCompanyPaymentsAPI/YCompany.Payments.Services/YCompany.Payments.Services.csproj
index b6fbd830..1569a52e 100644
--- a/Services/YCompanyPaymentsAPI/YCompany.Payments.Services/YCompany.Payments.Services.csproj
+++ b/Services/YCompanyPaymentsAPI/YCompany.Payments.Services/YCompany.Payments.Services.csproj
@@ -1,13 +1,13 @@
- net6.0
+ net8.0
enable
enable
-
+
diff --git a/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/Dockerfile b/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/Dockerfile
new file mode 100644
index 00000000..53098d65
--- /dev/null
+++ b/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/Dockerfile
@@ -0,0 +1,29 @@
+#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:8.0 AS base
+USER app
+WORKDIR /app
+EXPOSE 8080
+EXPOSE 8081
+
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
+ARG BUILD_CONFIGURATION=Release
+WORKDIR /src
+COPY ["Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/YCompanyPaymentsAPI.csproj", "Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/"]
+COPY ["Framework/YCompany.HealthChecks/YCompany.HealthChecks.csproj", "Framework/YCompany.HealthChecks/"]
+COPY ["Framework/YCompany.Claims.MessagingQueue/YCompany.MessagingQueue.csproj", "Framework/YCompany.Claims.MessagingQueue/"]
+COPY ["Services/YCompanyPaymentsAPI/YCompany.Payments.Domain/YCompany.Payments.Domain.csproj", "Services/YCompanyPaymentsAPI/YCompany.Payments.Domain/"]
+COPY ["Services/YCompanyPaymentsAPI/YCompany.Payments.Services/YCompany.Payments.Services.csproj", "Services/YCompanyPaymentsAPI/YCompany.Payments.Services/"]
+RUN dotnet restore "./Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/YCompanyPaymentsAPI.csproj"
+COPY . .
+WORKDIR "/src/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI"
+RUN dotnet build "./YCompanyPaymentsAPI.csproj" -c $BUILD_CONFIGURATION -o /app/build
+
+FROM build AS publish
+ARG BUILD_CONFIGURATION=Release
+RUN dotnet publish "./YCompanyPaymentsAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
+
+FROM base AS final
+WORKDIR /app
+COPY --from=publish /app/publish .
+ENTRYPOINT ["dotnet", "YCompanyPaymentsAPI.dll"]
\ No newline at end of file
diff --git a/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/Properties/launchSettings.json b/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/Properties/launchSettings.json
index 5063d3af..270ef684 100644
--- a/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/Properties/launchSettings.json
+++ b/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/Properties/launchSettings.json
@@ -1,23 +1,14 @@
-{
- "$schema": "https://json.schemastore.org/launchsettings.json",
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:44313",
- "sslPort": 44309
- }
- },
+{
"profiles": {
"YCompanyPaymentsAPI": {
"commandName": "Project",
- "dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
- "applicationUrl": "https://localhost:7001;http://localhost:5293",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
- }
+ },
+ "dotnetRunMessages": true,
+ "applicationUrl": "https://localhost:7001;http://localhost:5293"
},
"IIS Express": {
"commandName": "IISExpress",
@@ -26,6 +17,26 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
+ },
+ "Container (Dockerfile)": {
+ "commandName": "Docker",
+ "launchBrowser": true,
+ "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger",
+ "environmentVariables": {
+ "ASPNETCORE_HTTPS_PORTS": "8081",
+ "ASPNETCORE_HTTP_PORTS": "8080"
+ },
+ "publishAllPorts": true,
+ "useSSL": true
+ }
+ },
+ "$schema": "https://json.schemastore.org/launchsettings.json",
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:44313",
+ "sslPort": 44309
}
}
-}
+}
\ No newline at end of file
diff --git a/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/YCompanyPaymentsAPI.csproj b/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/YCompanyPaymentsAPI.csproj
index dd2d2bca..d05a7fce 100644
--- a/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/YCompanyPaymentsAPI.csproj
+++ b/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/YCompanyPaymentsAPI.csproj
@@ -1,18 +1,23 @@
- net6.0
+ net8.0
enable
enable
+ f7492e54-6261-4a3e-bce6-1e49fb4a065d
+ Linux
+ ..\..\..
+ ..\..\..\docker-compose.dcproj
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
+
diff --git a/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/YCompanyPaymentsAPI.csproj.user b/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/YCompanyPaymentsAPI.csproj.user
index efbdd2d3..ebfb2fca 100644
--- a/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/YCompanyPaymentsAPI.csproj.user
+++ b/Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/YCompanyPaymentsAPI.csproj.user
@@ -3,5 +3,6 @@
ApiControllerEmptyScaffolder
root/Common/Api
+ Container (Dockerfile)
\ No newline at end of file
diff --git a/Services/YCompanyReportingAPI/YCompany.Reporting.DataAccess/YCompany.Reporting.DataAccess.csproj b/Services/YCompanyReportingAPI/YCompany.Reporting.DataAccess/YCompany.Reporting.DataAccess.csproj
index 6afb89e5..dc79138e 100644
--- a/Services/YCompanyReportingAPI/YCompany.Reporting.DataAccess/YCompany.Reporting.DataAccess.csproj
+++ b/Services/YCompanyReportingAPI/YCompany.Reporting.DataAccess/YCompany.Reporting.DataAccess.csproj
@@ -1,13 +1,13 @@
- net6.0
+ net8.0
enable
enable
-
+
diff --git a/Services/YCompanyReportingAPI/YCompany.Reporting.Domain/YCompany.Reporting.Domain.csproj b/Services/YCompanyReportingAPI/YCompany.Reporting.Domain/YCompany.Reporting.Domain.csproj
index bbce8511..76726793 100644
--- a/Services/YCompanyReportingAPI/YCompany.Reporting.Domain/YCompany.Reporting.Domain.csproj
+++ b/Services/YCompanyReportingAPI/YCompany.Reporting.Domain/YCompany.Reporting.Domain.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyReportingAPI/YCompany.Reporting.Infrastructure/YCompany.Reporting.Infrastructure.csproj b/Services/YCompanyReportingAPI/YCompany.Reporting.Infrastructure/YCompany.Reporting.Infrastructure.csproj
index 132c02c5..30402ac0 100644
--- a/Services/YCompanyReportingAPI/YCompany.Reporting.Infrastructure/YCompany.Reporting.Infrastructure.csproj
+++ b/Services/YCompanyReportingAPI/YCompany.Reporting.Infrastructure/YCompany.Reporting.Infrastructure.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyReportingAPI/YCompany.Reporting.Services/YCompany.Reporting.Services.csproj b/Services/YCompanyReportingAPI/YCompany.Reporting.Services/YCompany.Reporting.Services.csproj
index 132c02c5..30402ac0 100644
--- a/Services/YCompanyReportingAPI/YCompany.Reporting.Services/YCompany.Reporting.Services.csproj
+++ b/Services/YCompanyReportingAPI/YCompany.Reporting.Services/YCompany.Reporting.Services.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyReportingAPI/YCompanyReportingAPI/Dockerfile b/Services/YCompanyReportingAPI/YCompanyReportingAPI/Dockerfile
new file mode 100644
index 00000000..2ca47d4a
--- /dev/null
+++ b/Services/YCompanyReportingAPI/YCompanyReportingAPI/Dockerfile
@@ -0,0 +1,25 @@
+#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:8.0 AS base
+USER app
+WORKDIR /app
+EXPOSE 8080
+EXPOSE 8081
+
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
+ARG BUILD_CONFIGURATION=Release
+WORKDIR /src
+COPY ["Services/YCompanyReportingAPI/YCompanyReportingAPI/YCompanyReportingAPI.csproj", "Services/YCompanyReportingAPI/YCompanyReportingAPI/"]
+RUN dotnet restore "./Services/YCompanyReportingAPI/YCompanyReportingAPI/YCompanyReportingAPI.csproj"
+COPY . .
+WORKDIR "/src/Services/YCompanyReportingAPI/YCompanyReportingAPI"
+RUN dotnet build "./YCompanyReportingAPI.csproj" -c $BUILD_CONFIGURATION -o /app/build
+
+FROM build AS publish
+ARG BUILD_CONFIGURATION=Release
+RUN dotnet publish "./YCompanyReportingAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
+
+FROM base AS final
+WORKDIR /app
+COPY --from=publish /app/publish .
+ENTRYPOINT ["dotnet", "YCompanyReportingAPI.dll"]
\ No newline at end of file
diff --git a/Services/YCompanyReportingAPI/YCompanyReportingAPI/Properties/launchSettings.json b/Services/YCompanyReportingAPI/YCompanyReportingAPI/Properties/launchSettings.json
index cdf3cb8c..77189b5d 100644
--- a/Services/YCompanyReportingAPI/YCompanyReportingAPI/Properties/launchSettings.json
+++ b/Services/YCompanyReportingAPI/YCompanyReportingAPI/Properties/launchSettings.json
@@ -1,23 +1,14 @@
-{
- "$schema": "https://json.schemastore.org/launchsettings.json",
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:31570",
- "sslPort": 44344
- }
- },
+{
"profiles": {
"YCompanyReportingAPI": {
"commandName": "Project",
- "dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
- "applicationUrl": "https://localhost:7272;http://localhost:5207",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
- }
+ },
+ "dotnetRunMessages": true,
+ "applicationUrl": "https://localhost:7272;http://localhost:5207"
},
"IIS Express": {
"commandName": "IISExpress",
@@ -26,6 +17,26 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
+ },
+ "Container (Dockerfile)": {
+ "commandName": "Docker",
+ "launchBrowser": true,
+ "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger",
+ "environmentVariables": {
+ "ASPNETCORE_HTTPS_PORTS": "8081",
+ "ASPNETCORE_HTTP_PORTS": "8080"
+ },
+ "publishAllPorts": true,
+ "useSSL": true
+ }
+ },
+ "$schema": "https://json.schemastore.org/launchsettings.json",
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:31570",
+ "sslPort": 44344
}
}
-}
+}
\ No newline at end of file
diff --git a/Services/YCompanyReportingAPI/YCompanyReportingAPI/YCompanyReportingAPI.csproj b/Services/YCompanyReportingAPI/YCompanyReportingAPI/YCompanyReportingAPI.csproj
index 2c33b1cd..7d8a7aa8 100644
--- a/Services/YCompanyReportingAPI/YCompanyReportingAPI/YCompanyReportingAPI.csproj
+++ b/Services/YCompanyReportingAPI/YCompanyReportingAPI/YCompanyReportingAPI.csproj
@@ -1,12 +1,17 @@
- net6.0
+ net8.0
enable
enable
+ 340b65bb-cdb4-4d58-9e90-48ffce930c4d
+ Linux
+ ..\..\..
+ ..\..\..\docker-compose.dcproj
+
diff --git a/Services/YCompanyReportingAPI/YCompanyReportingAPI/YCompanyReportingAPI.csproj.user b/Services/YCompanyReportingAPI/YCompanyReportingAPI/YCompanyReportingAPI.csproj.user
new file mode 100644
index 00000000..dd2d54cf
--- /dev/null
+++ b/Services/YCompanyReportingAPI/YCompanyReportingAPI/YCompanyReportingAPI.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ Container (Dockerfile)
+
+
\ No newline at end of file
diff --git a/Services/YCompanyUserManagementAPI/YCompany.UserManagement.DataAccess/YCompany.UserManagement.DataAccess.csproj b/Services/YCompanyUserManagementAPI/YCompany.UserManagement.DataAccess/YCompany.UserManagement.DataAccess.csproj
index 833d0680..2ec775c5 100644
--- a/Services/YCompanyUserManagementAPI/YCompany.UserManagement.DataAccess/YCompany.UserManagement.DataAccess.csproj
+++ b/Services/YCompanyUserManagementAPI/YCompany.UserManagement.DataAccess/YCompany.UserManagement.DataAccess.csproj
@@ -1,13 +1,13 @@
- net6.0
+ net8.0
enable
enable
-
+
diff --git a/Services/YCompanyUserManagementAPI/YCompany.UserManagement.Domain/YCompany.UserManagement.Domain.csproj b/Services/YCompanyUserManagementAPI/YCompany.UserManagement.Domain/YCompany.UserManagement.Domain.csproj
index bbce8511..76726793 100644
--- a/Services/YCompanyUserManagementAPI/YCompany.UserManagement.Domain/YCompany.UserManagement.Domain.csproj
+++ b/Services/YCompanyUserManagementAPI/YCompany.UserManagement.Domain/YCompany.UserManagement.Domain.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyUserManagementAPI/YCompany.UserManagement.Infrastructure/YCompany.UserManagement.Infrastructure.csproj b/Services/YCompanyUserManagementAPI/YCompany.UserManagement.Infrastructure/YCompany.UserManagement.Infrastructure.csproj
index 55541519..be454f23 100644
--- a/Services/YCompanyUserManagementAPI/YCompany.UserManagement.Infrastructure/YCompany.UserManagement.Infrastructure.csproj
+++ b/Services/YCompanyUserManagementAPI/YCompany.UserManagement.Infrastructure/YCompany.UserManagement.Infrastructure.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyUserManagementAPI/YCompany.UserManagement.Services/YCompany.UserManagement.Services.csproj b/Services/YCompanyUserManagementAPI/YCompany.UserManagement.Services/YCompany.UserManagement.Services.csproj
index 132c02c5..30402ac0 100644
--- a/Services/YCompanyUserManagementAPI/YCompany.UserManagement.Services/YCompany.UserManagement.Services.csproj
+++ b/Services/YCompanyUserManagementAPI/YCompany.UserManagement.Services/YCompany.UserManagement.Services.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/Dockerfile b/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/Dockerfile
new file mode 100644
index 00000000..6d8a87bd
--- /dev/null
+++ b/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/Dockerfile
@@ -0,0 +1,25 @@
+#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:8.0 AS base
+USER app
+WORKDIR /app
+EXPOSE 8080
+EXPOSE 8081
+
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
+ARG BUILD_CONFIGURATION=Release
+WORKDIR /src
+COPY ["Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/YCompanyUserManagementAPI.csproj", "Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/"]
+RUN dotnet restore "./Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/YCompanyUserManagementAPI.csproj"
+COPY . .
+WORKDIR "/src/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI"
+RUN dotnet build "./YCompanyUserManagementAPI.csproj" -c $BUILD_CONFIGURATION -o /app/build
+
+FROM build AS publish
+ARG BUILD_CONFIGURATION=Release
+RUN dotnet publish "./YCompanyUserManagementAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
+
+FROM base AS final
+WORKDIR /app
+COPY --from=publish /app/publish .
+ENTRYPOINT ["dotnet", "YCompanyUserManagementAPI.dll"]
\ No newline at end of file
diff --git a/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/Properties/launchSettings.json b/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/Properties/launchSettings.json
index 601076e3..2c8e755e 100644
--- a/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/Properties/launchSettings.json
+++ b/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/Properties/launchSettings.json
@@ -1,23 +1,14 @@
-{
- "$schema": "https://json.schemastore.org/launchsettings.json",
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:50045",
- "sslPort": 44398
- }
- },
+{
"profiles": {
"YCompanyUserManagementAPI": {
"commandName": "Project",
- "dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
- "applicationUrl": "https://localhost:7055;http://localhost:5282",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
- }
+ },
+ "dotnetRunMessages": true,
+ "applicationUrl": "https://localhost:7055;http://localhost:5282"
},
"IIS Express": {
"commandName": "IISExpress",
@@ -26,6 +17,26 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
+ },
+ "Container (Dockerfile)": {
+ "commandName": "Docker",
+ "launchBrowser": true,
+ "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger",
+ "environmentVariables": {
+ "ASPNETCORE_HTTPS_PORTS": "8081",
+ "ASPNETCORE_HTTP_PORTS": "8080"
+ },
+ "publishAllPorts": true,
+ "useSSL": true
+ }
+ },
+ "$schema": "https://json.schemastore.org/launchsettings.json",
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:50045",
+ "sslPort": 44398
}
}
-}
+}
\ No newline at end of file
diff --git a/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/YCompanyUserManagementAPI.csproj b/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/YCompanyUserManagementAPI.csproj
index 2c33b1cd..4e336719 100644
--- a/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/YCompanyUserManagementAPI.csproj
+++ b/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/YCompanyUserManagementAPI.csproj
@@ -1,12 +1,17 @@
- net6.0
+ net8.0
enable
enable
+ dfe88b8d-59ef-4952-97c3-14affa6620a5
+ Linux
+ ..\..\..
+ ..\..\..\docker-compose.dcproj
+
diff --git a/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/YCompanyUserManagementAPI.csproj.user b/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/YCompanyUserManagementAPI.csproj.user
new file mode 100644
index 00000000..dd2d54cf
--- /dev/null
+++ b/Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/YCompanyUserManagementAPI.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ Container (Dockerfile)
+
+
\ No newline at end of file
diff --git a/Services/YCompanyVendorAPI/YCompany.Vendor.DataAccess/YCompany.Vendor.DataAccess.csproj b/Services/YCompanyVendorAPI/YCompany.Vendor.DataAccess/YCompany.Vendor.DataAccess.csproj
index 8018acff..88a9416b 100644
--- a/Services/YCompanyVendorAPI/YCompany.Vendor.DataAccess/YCompany.Vendor.DataAccess.csproj
+++ b/Services/YCompanyVendorAPI/YCompany.Vendor.DataAccess/YCompany.Vendor.DataAccess.csproj
@@ -1,13 +1,13 @@
- net6.0
+ net8.0
enable
enable
-
+
diff --git a/Services/YCompanyVendorAPI/YCompany.Vendor.Domain/YCompany.Vendor.Domain.csproj b/Services/YCompanyVendorAPI/YCompany.Vendor.Domain/YCompany.Vendor.Domain.csproj
index 132c02c5..30402ac0 100644
--- a/Services/YCompanyVendorAPI/YCompany.Vendor.Domain/YCompany.Vendor.Domain.csproj
+++ b/Services/YCompanyVendorAPI/YCompany.Vendor.Domain/YCompany.Vendor.Domain.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyVendorAPI/YCompany.Vendor.Infrastructure/YCompany.Vendor.Infrastructure.csproj b/Services/YCompanyVendorAPI/YCompany.Vendor.Infrastructure/YCompany.Vendor.Infrastructure.csproj
index 1f1d7eea..e3b13187 100644
--- a/Services/YCompanyVendorAPI/YCompany.Vendor.Infrastructure/YCompany.Vendor.Infrastructure.csproj
+++ b/Services/YCompanyVendorAPI/YCompany.Vendor.Infrastructure/YCompany.Vendor.Infrastructure.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyVendorAPI/YCompany.Vendor.Service/YCompany.Vendor.Service.csproj b/Services/YCompanyVendorAPI/YCompany.Vendor.Service/YCompany.Vendor.Service.csproj
index 132c02c5..30402ac0 100644
--- a/Services/YCompanyVendorAPI/YCompany.Vendor.Service/YCompany.Vendor.Service.csproj
+++ b/Services/YCompanyVendorAPI/YCompany.Vendor.Service/YCompany.Vendor.Service.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
enable
diff --git a/Services/YCompanyVendorAPI/YCompanyVendorAPI/Dockerfile b/Services/YCompanyVendorAPI/YCompanyVendorAPI/Dockerfile
new file mode 100644
index 00000000..9721f9a6
--- /dev/null
+++ b/Services/YCompanyVendorAPI/YCompanyVendorAPI/Dockerfile
@@ -0,0 +1,31 @@
+#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:8.0 AS base
+USER app
+WORKDIR /app
+EXPOSE 8080
+EXPOSE 8081
+
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
+ARG BUILD_CONFIGURATION=Release
+WORKDIR /src
+COPY ["Services/YCompanyVendorAPI/YCompanyVendorAPI/YCompanyVendorAPI.csproj", "Services/YCompanyVendorAPI/YCompanyVendorAPI/"]
+COPY ["Services/YCompanyClaimsAPI/YCompany.Claims.DataAccess/YCompany.Claims.DataAccess.csproj", "Services/YCompanyClaimsAPI/YCompany.Claims.DataAccess/"]
+COPY ["Services/YCompanyClaimsAPI/YCompany.Claims.Domain/YCompany.Claims.Domain.csproj", "Services/YCompanyClaimsAPI/YCompany.Claims.Domain/"]
+COPY ["Framework/YCompany.HealthChecks/YCompany.HealthChecks.csproj", "Framework/YCompany.HealthChecks/"]
+COPY ["Framework/YCompany.Claims.MessagingQueue/YCompany.MessagingQueue.csproj", "Framework/YCompany.Claims.MessagingQueue/"]
+COPY ["Services/YCompanyVendorAPI/YCompany.Vendor.DataAccess/YCompany.Vendor.DataAccess.csproj", "Services/YCompanyVendorAPI/YCompany.Vendor.DataAccess/"]
+COPY ["Services/YCompanyVendorAPI/YCompany.Vendor.Domain/YCompany.Vendor.Domain.csproj", "Services/YCompanyVendorAPI/YCompany.Vendor.Domain/"]
+RUN dotnet restore "./Services/YCompanyVendorAPI/YCompanyVendorAPI/YCompanyVendorAPI.csproj"
+COPY . .
+WORKDIR "/src/Services/YCompanyVendorAPI/YCompanyVendorAPI"
+RUN dotnet build "./YCompanyVendorAPI.csproj" -c $BUILD_CONFIGURATION -o /app/build
+
+FROM build AS publish
+ARG BUILD_CONFIGURATION=Release
+RUN dotnet publish "./YCompanyVendorAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
+
+FROM base AS final
+WORKDIR /app
+COPY --from=publish /app/publish .
+ENTRYPOINT ["dotnet", "YCompanyVendorAPI.dll"]
\ No newline at end of file
diff --git a/Services/YCompanyVendorAPI/YCompanyVendorAPI/YCompanyVendorAPI.csproj b/Services/YCompanyVendorAPI/YCompanyVendorAPI/YCompanyVendorAPI.csproj
index e2a6019f..7b4081e4 100644
--- a/Services/YCompanyVendorAPI/YCompanyVendorAPI/YCompanyVendorAPI.csproj
+++ b/Services/YCompanyVendorAPI/YCompanyVendorAPI/YCompanyVendorAPI.csproj
@@ -1,22 +1,27 @@
-
+
- net6.0
+ net8.0
enable
enable
+ 08bc79bc-9491-420d-89fc-fdd307fef485
+ Linux
+ ..\..\..
+ ..\..\..\docker-compose.dcproj
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
+
diff --git a/ThirdPartyAndSeed/YCompanyThirdPartyAPI/Dockerfile b/ThirdPartyAndSeed/YCompanyThirdPartyAPI/Dockerfile
new file mode 100644
index 00000000..451b67c7
--- /dev/null
+++ b/ThirdPartyAndSeed/YCompanyThirdPartyAPI/Dockerfile
@@ -0,0 +1,34 @@
+#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:8.0 AS base
+WORKDIR /app
+EXPOSE 80
+EXPOSE 443
+
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
+ARG BUILD_CONFIGURATION=Release
+WORKDIR /src
+COPY ["ThirdPartyAndSeed/YCompanyThirdPartyAPI/YCompanyThirdPartyAPI.csproj", "ThirdPartyAndSeed/YCompanyThirdPartyAPI/"]
+COPY ["Services/YCompanyIdentityServer/YCompanyIdentityServer/YCompanyIdentityServer.csproj", "Services/YCompanyIdentityServer/YCompanyIdentityServer/"]
+COPY ["Framework/YCompany.Claims.Caching/YCompany.Caching.csproj", "Framework/YCompany.Claims.Caching/"]
+COPY ["Framework/YCompany.Claims.ExceptionHandling/YCompany.ExceptionHandling.csproj", "Framework/YCompany.Claims.ExceptionHandling/"]
+COPY ["Framework/YCompany.Claims.Logging/YCompany.Logging.csproj", "Framework/YCompany.Claims.Logging/"]
+COPY ["Framework/YCompany.Claims.MessagingQueue/YCompany.MessagingQueue.csproj", "Framework/YCompany.Claims.MessagingQueue/"]
+COPY ["Framework/YCompany.HealthChecks/YCompany.HealthChecks.csproj", "Framework/YCompany.HealthChecks/"]
+COPY ["Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/YCompanyPaymentsAPI.csproj", "Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/"]
+COPY ["Services/YCompanyPaymentsAPI/YCompany.Payments.Domain/YCompany.Payments.Domain.csproj", "Services/YCompanyPaymentsAPI/YCompany.Payments.Domain/"]
+COPY ["Services/YCompanyPaymentsAPI/YCompany.Payments.Services/YCompany.Payments.Services.csproj", "Services/YCompanyPaymentsAPI/YCompany.Payments.Services/"]
+COPY ["YCompany.Configurations/YCompany.Configurations.csproj", "YCompany.Configurations/"]
+RUN dotnet restore "./ThirdPartyAndSeed/YCompanyThirdPartyAPI/YCompanyThirdPartyAPI.csproj"
+COPY . .
+WORKDIR "/src/ThirdPartyAndSeed/YCompanyThirdPartyAPI"
+RUN dotnet build "./YCompanyThirdPartyAPI.csproj" -c $BUILD_CONFIGURATION -o /app/build
+
+FROM build AS publish
+ARG BUILD_CONFIGURATION=Release
+RUN dotnet publish "./YCompanyThirdPartyAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
+
+FROM base AS final
+WORKDIR /app
+COPY --from=publish /app/publish .
+ENTRYPOINT ["dotnet", "YCompanyThirdPartyAPI.dll"]
\ No newline at end of file
diff --git a/ThirdPartyAndSeed/YCompanyThirdPartyAPI/Properties/launchSettings.json b/ThirdPartyAndSeed/YCompanyThirdPartyAPI/Properties/launchSettings.json
index 276ac201..699609b9 100644
--- a/ThirdPartyAndSeed/YCompanyThirdPartyAPI/Properties/launchSettings.json
+++ b/ThirdPartyAndSeed/YCompanyThirdPartyAPI/Properties/launchSettings.json
@@ -1,23 +1,14 @@
-{
- "$schema": "https://json.schemastore.org/launchsettings.json",
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:45895",
- "sslPort": 44330
- }
- },
+{
"profiles": {
"YCompanyThirdPartyAPI": {
"commandName": "Project",
- "dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
- "applicationUrl": "https://localhost:7143;http://localhost:5030",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
- }
+ },
+ "dotnetRunMessages": true,
+ "applicationUrl": "https://localhost:7143;http://localhost:5030"
},
"IIS Express": {
"commandName": "IISExpress",
@@ -26,6 +17,25 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
+ },
+ "Container (Dockerfile)": {
+ "commandName": "Docker",
+ "launchBrowser": true,
+ "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger",
+ "environmentVariables": {
+ "ASPNETCORE_URLS": "https://+:443;http://+:80"
+ },
+ "publishAllPorts": true,
+ "useSSL": true
+ }
+ },
+ "$schema": "https://json.schemastore.org/launchsettings.json",
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:45895",
+ "sslPort": 44330
}
}
-}
+}
\ No newline at end of file
diff --git a/ThirdPartyAndSeed/YCompanyThirdPartyAPI/YCompanyThirdPartyAPI.csproj b/ThirdPartyAndSeed/YCompanyThirdPartyAPI/YCompanyThirdPartyAPI.csproj
index ddc0d6eb..ab2e1fac 100644
--- a/ThirdPartyAndSeed/YCompanyThirdPartyAPI/YCompanyThirdPartyAPI.csproj
+++ b/ThirdPartyAndSeed/YCompanyThirdPartyAPI/YCompanyThirdPartyAPI.csproj
@@ -1,24 +1,29 @@
- net7.0
+ net8.0
enable
enable
+ 6594a662-9e11-495e-9a97-76a4d5037b8d
+ Linux
+ ..\..
+ ..\..\docker-compose.dcproj
-
+
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
+
diff --git a/ThirdPartyAndSeed/YCompanyThirdPartyAPI/YCompanyThirdPartyAPI.csproj.user b/ThirdPartyAndSeed/YCompanyThirdPartyAPI/YCompanyThirdPartyAPI.csproj.user
new file mode 100644
index 00000000..dd2d54cf
--- /dev/null
+++ b/ThirdPartyAndSeed/YCompanyThirdPartyAPI/YCompanyThirdPartyAPI.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ Container (Dockerfile)
+
+
\ No newline at end of file
diff --git a/YCompany.Configurations/YCompany.Configurations.csproj b/YCompany.Configurations/YCompany.Configurations.csproj
index d1429b06..b2597b42 100644
--- a/YCompany.Configurations/YCompany.Configurations.csproj
+++ b/YCompany.Configurations/YCompany.Configurations.csproj
@@ -1,12 +1,12 @@
- netstandard2.1
+ net8.0
enable
-
+
diff --git a/YCompany.sln b/YCompany.sln
index 1325d654..02737b0a 100644
--- a/YCompany.sln
+++ b/YCompany.sln
@@ -153,8 +153,16 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "YCompany.Identity.DataAcces
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "YCompany.Identity.Infrastructure", "Services\YCompanyIdentityServer\YCompany.Identity.Infrastructure\YCompany.Identity.Infrastructure.csproj", "{351E9F40-37F7-475D-ACE2-9EF60A690E58}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YCompanyWebApp", "YCompanyWebApp\YCompanyWebApp.csproj", "{1DEE83E7-2BD9-45C0-B67A-015529558403}"
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "YCompany.Configurations", "YCompany.Configurations\YCompany.Configurations.csproj", "{C1B484F6-DC3C-4E21-9CCA-BFC3DA0B5652}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "YCompanyWebApp", "YCompanyWebApp\YCompanyWebApp.csproj", "{1DEE83E7-2BD9-45C0-B67A-015529558403}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "YCompany.Configurations", "YCompany.Configurations\YCompany.Configurations.csproj", "{C1B484F6-DC3C-4E21-9CCA-BFC3DA0B5652}"
+EndProject
+Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{8DD9E2C0-9CAD-4FF6-93C0-B7016B48C121}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{687A460E-2EC7-4455-BBB6-C95A7493013D}"
+ ProjectSection(SolutionItems) = preProject
+ Directory.Build.props = Directory.Build.props
+ EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -338,6 +346,10 @@ Global
{C1B484F6-DC3C-4E21-9CCA-BFC3DA0B5652}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C1B484F6-DC3C-4E21-9CCA-BFC3DA0B5652}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C1B484F6-DC3C-4E21-9CCA-BFC3DA0B5652}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8DD9E2C0-9CAD-4FF6-93C0-B7016B48C121}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8DD9E2C0-9CAD-4FF6-93C0-B7016B48C121}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8DD9E2C0-9CAD-4FF6-93C0-B7016B48C121}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8DD9E2C0-9CAD-4FF6-93C0-B7016B48C121}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/YCompanyWebApp/YCompanyWebApp.csproj b/YCompanyWebApp/YCompanyWebApp.csproj
index 0f1d99fc..ecd70fbd 100644
--- a/YCompanyWebApp/YCompanyWebApp.csproj
+++ b/YCompanyWebApp/YCompanyWebApp.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable
false
ClientApp\
@@ -11,7 +11,7 @@
-
+
diff --git a/YCompanyWebApplication/Dockerfile b/YCompanyWebApplication/Dockerfile
new file mode 100644
index 00000000..69af545e
--- /dev/null
+++ b/YCompanyWebApplication/Dockerfile
@@ -0,0 +1,36 @@
+#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:8.0 AS base
+USER app
+WORKDIR /app
+EXPOSE 8080
+EXPOSE 8081
+
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
+ARG BUILD_CONFIGURATION=Release
+WORKDIR /src
+COPY ["YCompanyWebApplication/YCompanyWebApplication.csproj", "YCompanyWebApplication/"]
+COPY ["ThirdPartyAndSeed/YCompanyThirdPartyAPI/YCompanyThirdPartyAPI.csproj", "ThirdPartyAndSeed/YCompanyThirdPartyAPI/"]
+COPY ["Services/YCompanyIdentityServer/YCompanyIdentityServer/YCompanyIdentityServer.csproj", "Services/YCompanyIdentityServer/YCompanyIdentityServer/"]
+COPY ["Framework/YCompany.Claims.Caching/YCompany.Caching.csproj", "Framework/YCompany.Claims.Caching/"]
+COPY ["Framework/YCompany.Claims.ExceptionHandling/YCompany.ExceptionHandling.csproj", "Framework/YCompany.Claims.ExceptionHandling/"]
+COPY ["Framework/YCompany.Claims.Logging/YCompany.Logging.csproj", "Framework/YCompany.Claims.Logging/"]
+COPY ["Framework/YCompany.Claims.MessagingQueue/YCompany.MessagingQueue.csproj", "Framework/YCompany.Claims.MessagingQueue/"]
+COPY ["Framework/YCompany.HealthChecks/YCompany.HealthChecks.csproj", "Framework/YCompany.HealthChecks/"]
+COPY ["Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/YCompanyPaymentsAPI.csproj", "Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/"]
+COPY ["Services/YCompanyPaymentsAPI/YCompany.Payments.Domain/YCompany.Payments.Domain.csproj", "Services/YCompanyPaymentsAPI/YCompany.Payments.Domain/"]
+COPY ["Services/YCompanyPaymentsAPI/YCompany.Payments.Services/YCompany.Payments.Services.csproj", "Services/YCompanyPaymentsAPI/YCompany.Payments.Services/"]
+COPY ["YCompany.Configurations/YCompany.Configurations.csproj", "YCompany.Configurations/"]
+RUN dotnet restore "./YCompanyWebApplication/YCompanyWebApplication.csproj"
+COPY . .
+WORKDIR "/src/YCompanyWebApplication"
+RUN dotnet build "./YCompanyWebApplication.csproj" -c $BUILD_CONFIGURATION -o /app/build
+
+FROM build AS publish
+ARG BUILD_CONFIGURATION=Release
+RUN dotnet publish "./YCompanyWebApplication.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
+
+FROM base AS final
+WORKDIR /app
+COPY --from=publish /app/publish .
+ENTRYPOINT ["dotnet", "YCompanyWebApplication.dll"]
\ No newline at end of file
diff --git a/YCompanyWebApplication/YCompanyWebApplication.csproj b/YCompanyWebApplication/YCompanyWebApplication.csproj
index 67b75c71..d515780e 100644
--- a/YCompanyWebApplication/YCompanyWebApplication.csproj
+++ b/YCompanyWebApplication/YCompanyWebApplication.csproj
@@ -1,18 +1,21 @@
- net7.0
+ net8.0
enable
enable
1a8c9106-b716-40d3-b0f5-6c55aea7846b
+ Linux
+ ..\docker-compose.dcproj
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
+
diff --git a/docker-compose.dcproj b/docker-compose.dcproj
new file mode 100644
index 00000000..437bebff
--- /dev/null
+++ b/docker-compose.dcproj
@@ -0,0 +1,19 @@
+
+
+
+ 2.1
+ Linux
+ False
+ 8dd9e2c0-9cad-4ff6-93c0-b7016b48c121
+ LaunchBrowser
+ {Scheme}://localhost:{ServicePort}
+ ycompanywebapplication
+
+
+
+ docker-compose.yml
+
+
+
+
+
\ No newline at end of file
diff --git a/docker-compose.override.yml b/docker-compose.override.yml
new file mode 100644
index 00000000..aea51c8e
--- /dev/null
+++ b/docker-compose.override.yml
@@ -0,0 +1,106 @@
+version: '3.4'
+
+services:
+ ycompanywebapplication:
+ environment:
+ - ASPNETCORE_ENVIRONMENT=Development
+ - ASPNETCORE_URLS=https://+:443;http://+:80
+ ports:
+ - "80"
+ - "443"
+ volumes:
+ - ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
+ - ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
+ ycompanyclaimsapi:
+ environment:
+ - ASPNETCORE_ENVIRONMENT=Development
+ - ASPNETCORE_HTTP_PORTS=8080
+ - ASPNETCORE_HTTPS_PORTS=8081
+ ports:
+ - "8080"
+ - "8081"
+ volumes:
+ - ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
+ - ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
+
+ ycompanycommunicationsapi:
+ environment:
+ - ASPNETCORE_ENVIRONMENT=Development
+ - ASPNETCORE_HTTP_PORTS=8080
+ - ASPNETCORE_HTTPS_PORTS=8081
+ ports:
+ - "8080"
+ - "8081"
+ volumes:
+ - ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
+ - ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
+
+ ycompanyidentityserver:
+ environment:
+ - ASPNETCORE_ENVIRONMENT=Development
+ - ASPNETCORE_URLS=https://+:443;http://+:80
+ ports:
+ - "80"
+ - "443"
+ volumes:
+ - ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
+ - ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
+
+ ycompanypaymentsapi:
+ environment:
+ - ASPNETCORE_ENVIRONMENT=Development
+ - ASPNETCORE_HTTP_PORTS=8080
+ - ASPNETCORE_HTTPS_PORTS=8081
+ ports:
+ - "8080"
+ - "8081"
+ volumes:
+ - ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
+ - ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
+
+ ycompanyreportingapi:
+ environment:
+ - ASPNETCORE_ENVIRONMENT=Development
+ - ASPNETCORE_HTTP_PORTS=8080
+ - ASPNETCORE_HTTPS_PORTS=8081
+ ports:
+ - "8080"
+ - "8081"
+ volumes:
+ - ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
+ - ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
+
+ ycompanythirdpartyapi:
+ environment:
+ - ASPNETCORE_ENVIRONMENT=Development
+ - ASPNETCORE_URLS=https://+:443;http://+:80
+ ports:
+ - "80"
+ - "443"
+ volumes:
+ - ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
+ - ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro
+
+ ycompanyusermanagementapi:
+ environment:
+ - ASPNETCORE_ENVIRONMENT=Development
+ - ASPNETCORE_HTTP_PORTS=8080
+ - ASPNETCORE_HTTPS_PORTS=8081
+ ports:
+ - "8080"
+ - "8081"
+ volumes:
+ - ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
+ - ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
+
+ ycompanyvendorapi:
+ environment:
+ - ASPNETCORE_ENVIRONMENT=Development
+ - ASPNETCORE_HTTP_PORTS=8080
+ - ASPNETCORE_HTTPS_PORTS=8081
+ ports:
+ - "8080"
+ - "8081"
+ volumes:
+ - ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
+ - ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 00000000..1382ea72
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,64 @@
+version: '3.4'
+
+services:
+ ycompanywebapplication:
+ image: ${DOCKER_REGISTRY-}ycompanywebapplication
+ build:
+ context: .
+ dockerfile: YCompanyWebApplication/Dockerfile
+
+ ycompanyclaimsapi:
+ image: ${DOCKER_REGISTRY-}ycompanyclaimsapi
+ build:
+ context: .
+ dockerfile: Services/YCompanyClaimsAPI/YCompanyClaimsAPI/Dockerfile
+
+
+ ycompanycommunicationsapi:
+ image: ${DOCKER_REGISTRY-}ycompanycommunicationsapi
+ build:
+ context: .
+ dockerfile: Services/YCompanyCommunicationsAPI/YCompanyCommunicationsAPI/Dockerfile
+
+
+ ycompanyidentityserver:
+ image: ${DOCKER_REGISTRY-}ycompanyidentityserver
+ build:
+ context: .
+ dockerfile: Services/YCompanyIdentityServer/YCompanyIdentityServer/Dockerfile
+
+
+ ycompanypaymentsapi:
+ image: ${DOCKER_REGISTRY-}ycompanypaymentsapi
+ build:
+ context: .
+ dockerfile: Services/YCompanyPaymentsAPI/YCompanyPaymentsAPI/Dockerfile
+
+
+ ycompanyreportingapi:
+ image: ${DOCKER_REGISTRY-}ycompanyreportingapi
+ build:
+ context: .
+ dockerfile: Services/YCompanyReportingAPI/YCompanyReportingAPI/Dockerfile
+
+
+ ycompanythirdpartyapi:
+ image: ${DOCKER_REGISTRY-}ycompanythirdpartyapi
+ build:
+ context: .
+ dockerfile: ThirdPartyAndSeed/YCompanyThirdPartyAPI/Dockerfile
+
+
+ ycompanyusermanagementapi:
+ image: ${DOCKER_REGISTRY-}ycompanyusermanagementapi
+ build:
+ context: .
+ dockerfile: Services/YCompanyUserManagementAPI/YCompanyUserManagementAPI/Dockerfile
+
+
+ ycompanyvendorapi:
+ image: ${DOCKER_REGISTRY-}ycompanyvendorapi
+ build:
+ context: .
+ dockerfile: Services/YCompanyVendorAPI/YCompanyVendorAPI/Dockerfile
+
diff --git a/launchSettings.json b/launchSettings.json
new file mode 100644
index 00000000..7f7d01f9
--- /dev/null
+++ b/launchSettings.json
@@ -0,0 +1,19 @@
+{
+ "profiles": {
+ "Docker Compose": {
+ "commandName": "DockerCompose",
+ "commandVersion": "1.0",
+ "serviceActions": {
+ "ycompanywebapplication": "StartDebugging",
+ "ycompanyclaimsapi": "StartDebugging",
+ "ycompanycommunicationsapi": "StartDebugging",
+ "ycompanyidentityserver": "StartDebugging",
+ "ycompanypaymentsapi": "StartDebugging",
+ "ycompanyreportingapi": "StartDebugging",
+ "ycompanythirdpartyapi": "StartDebugging",
+ "ycompanyusermanagementapi": "StartDebugging",
+ "ycompanyvendorapi": "StartDebugging"
+ }
+ }
+ }
+}
\ No newline at end of file