fix: port 3410 → 4310; add nginx block for abzarasadi.ir
CI/CD / CI — dotnet build (push) Successful in 20s
CI/CD / Deploy — docker compose (push) Failing after 1s

- Dockerfile & docker-compose: EXPOSE/ports updated to 4310
- nginx.conf: new server blocks for abzarasadi.ir + www (SSL at
  /etc/ssl/abzarasadi/, proxies to 171.22.25.73:4310)
- Also fixed broken www.soroushasadi.com markdown links in nginx.conf

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Soroush Asadi
2026-06-02 02:05:14 +03:30
parent 07af5c28b1
commit 6f20721e9e
3 changed files with 394 additions and 4 deletions
+2 -2
View File
@@ -27,9 +27,9 @@ COPY --from=build /app/publish .
# Override connection string to use /app/data/asadi.db (volume path)
ENV ConnectionStrings__Default="Data Source=/app/data/asadi.db"
ENV ASPNETCORE_URLS="http://+:3410"
ENV ASPNETCORE_URLS="http://+:4310"
ENV ASPNETCORE_ENVIRONMENT="Production"
EXPOSE 3410
EXPOSE 4310
ENTRYPOINT ["dotnet", "AsadiTools.dll"]