Added healthcheck

This commit is contained in:
2023-07-14 23:11:08 +02:00
parent c7231d648c
commit b11c4b4e9f
3 changed files with 23 additions and 3 deletions
+4
View File
@@ -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"]