From 78709d5193e250d11fc91e8ee5fd379129de0abc Mon Sep 17 00:00:00 2001 From: Francis Pion Date: Thu, 25 Apr 2024 21:34:14 -0400 Subject: [PATCH] CodeReview. --- backend/src/Logitar.Master/Logitar.Master.csproj | 6 +++++- backend/src/Logitar.Master/Startup.cs | 1 - docker-compose.yml | 14 ++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 docker-compose.yml diff --git a/backend/src/Logitar.Master/Logitar.Master.csproj b/backend/src/Logitar.Master/Logitar.Master.csproj index 60c2542..49520f5 100644 --- a/backend/src/Logitar.Master/Logitar.Master.csproj +++ b/backend/src/Logitar.Master/Logitar.Master.csproj @@ -1,4 +1,4 @@ - + net8.0 @@ -23,4 +23,8 @@ + + + + diff --git a/backend/src/Logitar.Master/Startup.cs b/backend/src/Logitar.Master/Startup.cs index 84c3cac..091e5a9 100644 --- a/backend/src/Logitar.Master/Startup.cs +++ b/backend/src/Logitar.Master/Startup.cs @@ -1,6 +1,5 @@ using Logitar.Master.Extensions; using Logitar.Master.Settings; -using System.Text.Json.Serialization; namespace Logitar.Master; diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b712857 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,14 @@ +version: '3.8' +name: logitar_master +services: + logitar_master_backend: + build: + context: ./backend + dockerfile: /src/Logitar.Master/Dockerfile + image: logitar_master_backend + container_name: Logitar.Master_backend + restart: unless-stopped + environment: + ASPNETCORE_Environment: Development + ports: + - 8091:8080