Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d12 committed Feb 27, 2025
1 parent 2cd40e2 commit fc72605
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/[Bb]in
/[Oo]bj
README.md
1 change: 1 addition & 0 deletions CodeHub.sln
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
docker-compose.yaml = docker-compose.yaml
LICENSE = LICENSE
README.md = README.md
.dockerignore = .dockerignore
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Backend", "Backend", "{6BBAFA79-C6EC-4415-8249-3AF0BF69A8F8}"
Expand Down
22 changes: 12 additions & 10 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
name: codehub
services:
backend:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- AzureSettings__IsEnabled=false
- AzureDevOpsSettings__IsEnabled=false
- GitHubSettings__IsEnabled=false
- CorsSettings__AllowedFrontend=http://localhost:5231
build:
context: ./src/backend
dockerfile: Backend.Dockerfile
ports:
- "8080:8080"
develop:
watch:
- action: sync+restart
path: ./src/backend
target: /src/backend

frontend:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- CodeHubBackendBaseUrl="http://localhost:8080"
build:
context: ./src/frontend
additional_contexts:
Expand All @@ -24,4 +21,9 @@ services:
depends_on:
- backend
ports:
- "8090:8080"
- "8090:8080"
develop:
watch:
- action: sync+restart
path: ./src/frontend
target: /src/frontend
2 changes: 1 addition & 1 deletion src/backend/CodeHub.Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

try
{
logger.LogDebug("Configuration: {Config}", JsonSerializer.Serialize(builder.Configuration));
logger.LogDebug("Configuration: {Config}", JsonSerializer.Serialize(builder.Configuration.GetSection("CorsSettings").Value));
logger.LogInformation("Starting up: {ApplicationName}", applicationName);

builder.Services.AddLogging();
Expand Down
2 changes: 1 addition & 1 deletion src/backend/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
<PackageVersion Include="System.Text.Json" Version="9.0.2" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="7.2.0" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="7.3.1" />
<PackageVersion Include="Microsoft.TeamFoundationServer.Client" Version="19.225.1" />
<PackageVersion Include="Microsoft.VisualStudio.Services.Client" Version="19.225.1" />
<PackageVersion Include="Azure.Identity" Version="1.13.2" />
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/CodeHub.Portal/CodeHub.Portal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MudBlazor" Version="8.2.0" />
<PackageReference Include="MudBlazor" Version="8.3.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit fc72605

Please sign in to comment.