mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-26 07:28:45 -07:00
Add DorkNet.Contracts reference to monolith Server build (#33)
* Route microservices through Traefik behind Cloudflare Tunnel Add scoped Traefik host labels to the gateway and put cloudflared on the Traefik network so the tunnel hands off to Traefik instead of forwarding every host straight to the app. Keep backend services internal-only. * Add DorkNet.Contracts reference to monolith Server build DorkNet.Server uses DorkNetRouteOwnership from DorkNet.Contracts but the project never referenced it and the Dockerfile never copied it, so the monolith image failed to compile (CS0234). Add the project reference and copy the project into the build stage.
This commit is contained in:
@@ -73,6 +73,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DorkNet.Models\DorkNet.Models.csproj" />
|
||||
<ProjectReference Include="..\DorkNet.Contracts\DorkNet.Contracts.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Service-slice containers reference DorkNet.Server for shared controllers
|
||||
|
||||
Reference in New Issue
Block a user