Healthcheck

This commit is contained in:
Kroese 2023-04-16 18:10:45 +02:00 committed by GitHub
parent 8fcdcd29ed
commit 28b84f39d8

View File

@ -52,6 +52,6 @@ ENV CPU_CORES 1
ENV DISK_SIZE 16G ENV DISK_SIZE 16G
ENV RAM_SIZE 512M ENV RAM_SIZE 512M
HEALTHCHECK --interval=30s --timeout=2s CMD curl -f http://20.20.20.21:5000/robots.txt || exit 1 HEALTHCHECK --interval=30s --timeout=2s CMD curl -ILfSs http://20.20.20.21:5000/ || exit 1
ENTRYPOINT ["/run/run.sh"] ENTRYPOINT ["/run/run.sh"]