We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81f5e3d commit 96ca5bbCopy full SHA for 96ca5bb
Dockerfile
@@ -42,6 +42,6 @@ RUN mkdir /backup && \
42
VOLUME ["/backup"]
43
44
HEALTHCHECK --interval=2s --retries=1800 \
45
- CMD stat /HEALTLY.status || exit 1
+ CMD stat /HEALTHY.status || exit 1
46
47
ENTRYPOINT dockerize -wait tcp://${MYSQL_HOST}:${MYSQL_PORT} -timeout ${TIMEOUT} /run.sh
run.sh
@@ -14,7 +14,7 @@ elif [ -n "${INIT_RESTORE_LATEST}" ]; then
14
find /backup -maxdepth 1 -name '*.sql.gz' | tail -1 | xargs /restore.sh
15
fi
16
17
-touch /HEALTLY.status
+touch /.status
18
19
echo "${CRON_TIME} /backup.sh >> /mysql_backup.log 2>&1" > /tmp/crontab.conf
20
crontab /tmp/crontab.conf
0 commit comments