feat: ЛР3 - Nginx балансировка, идемпотентность сообщений и failover

This commit is contained in:
Ильяс
2026-10-30 12:17:01 +03:00
parent df42648939
commit 786bb2077f
27 changed files with 943 additions and 70 deletions
+1 -1
View File
@@ -22,6 +22,6 @@ USER appuser
EXPOSE 8080
HEALTHCHECK --interval=10s --timeout=3s --start-period=5s --retries=3 \
CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/health/live')" || exit 1
CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/health/ready')" || exit 1
CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080", "--timeout-graceful-shutdown", "10"]