Added healthcheck
This commit is contained in:
@@ -38,3 +38,7 @@ ENV TZ=Etc/UTC
|
||||
COPY etc/ /etc
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
# Healthcheck
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
|
||||
CMD ["curl", "--fail", "http://localhost/healthcheck"]
|
||||
|
||||
Reference in New Issue
Block a user