mirror of
https://dev.azure.com/tstanciu94/ReverseProxy/_git/ReverseProxy_Frontend
synced 2025-10-03 16:49:04 +03:00
Fix health check start period in Dockerfile for improved reliability
This commit is contained in:
parent
4f34b40dd6
commit
d59ffa5201
@ -52,7 +52,7 @@ ENV APP_VERSION=${APP_VERSION}
|
||||
EXPOSE 80
|
||||
|
||||
# Health check
|
||||
HEALTHCHECK --interval=120s --timeout=10s --start-period=60s --retries=3 \
|
||||
HEALTHCHECK --interval=120s --timeout=10s --start-period=15s --retries=3 \
|
||||
CMD curl -f http://localhost/health || exit 1
|
||||
|
||||
# Start nginx
|
||||
|
Loading…
x
Reference in New Issue
Block a user