update healthcheck

This commit is contained in:
ale 2025-01-28 21:20:05 +01:00
parent f14cd1f1f8
commit 14b9250fda
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ RUN \
wget -qO- ${MONIT_URL}/monit-${MONIT_VERSION}.tar.gz | tar xz && \
cd /opt/src/monit-${MONIT_VERSION} && \
./configure --prefix=${MONIT_HOME} --without-pam && \
make && make install && \
make -j1 && make install && \
apk del gcc musl-dev make libressl-dev file zlib-dev && \
rm -rf /var/cache/apk/* /opt/src

View File

@ -10,7 +10,7 @@ services:
test: curl --fail http://admin:monit@monit:2812/ || exit 1
interval: 1m
retries: 1
start_period: 1m
start_period: 10m
ports:
- "2812:2812"
volumes: