Add healthchecks and coder

This commit is contained in:
Tobias Reisinger 2022-11-24 15:22:31 +01:00
parent acc83618f3
commit e7c78aa678
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
16 changed files with 245 additions and 1 deletions
healthcheck

9
healthcheck/mail Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/sh
set -e
cd /opt/ || exit
envsubst < template.msmtprc > msmtprc
envsubst < mailcheck.template.mail > mailcheck.mail
msmtp -C /opt/msmtprc -a default "$MAIL_HC_UID@hc-ping.com" < /opt/mailcheck.mail