Both appsettings-blogs.json and appsettings-api.json shipped a Kestrel:Endpoints:Https block pointing at https://localhost:3003 and https://localhost:3004 respectively. These are leftover dev templates that don't match the production ports (5004/5005 for Blogs, 5002/5003 for Api) and crash Kestrel at startup when no cert is configured for those URLs. docker-compose.yaml now sets ASPNETCORE_URLS explicitly per service runtime (http://+:5000/5002/5004 + ASPNETCORE_HTTPS_PORT=empty), which is the authoritative source for the binding. The baked Kestrel block in the appsettings overrides nothing useful and just blocks HTTP-only startup. Search confirms no source code references localhost:3003/3004 (grep across src/*.{cs,json,axaml,cshtml} returns only the two lines we just deleted), so removing the block is safe. |
||
|---|---|---|
| .. | ||
| cli | ||
| PostIt | ||
| PostIt.Tests | ||
| templateWeb | ||
| Yavsc.Abstract | ||
| Yavsc.Api | ||
| Yavsc.Blogs | ||
| Yavsc.Org | ||
| Yavsc.Org.Tests | ||
| Yavsc.Server | ||
| Yavsc.Web | ||