level 4, changed to HAProxy

This commit is contained in:
2026-11-07 18:18:43 +03:00
parent 124c83e450
commit eb4e00e412
33 changed files with 3932 additions and 231 deletions
+6 -1
View File
@@ -9,7 +9,8 @@ ENV APP_HOST=0.0.0.0 \
APP_PORT=8080 \
APP_ENV=lab \
LOG_LEVEL=info \
SHUTDOWN_TIMEOUT_SECONDS=5 \
DRAIN_SECONDS=4 \
SHUTDOWN_TIMEOUT_SECONDS=3 \
SESSION_TTL_SECONDS=3600
RUN groupadd --gid 10001 app \
@@ -26,6 +27,10 @@ COPY --chown=app:app contracts/openapi.json ./contracts/openapi.json
USER app
# Visible as X-App-Version: shows which build served a request during a rolling update.
ARG APP_VERSION=dev
ENV APP_VERSION=${APP_VERSION}
EXPOSE 8080
HEALTHCHECK --interval=5s --timeout=3s --start-period=15s --retries=3 \