Compare commits

..

14 Commits

Author SHA1 Message Date
drunkendog fb982cd646 Update 'scripts/healthchecks/launch-docker.sh' 2023-08-13 22:00:13 +01:00
drunkendog f4a8014465 Update 'scripts/healthchecks/environment.conf.copy' 2023-08-13 21:59:23 +01:00
drunkendog 51a0605773 Update 'scripts/healthchecks/environment.conf.copy' 2023-08-13 21:52:40 +01:00
drunkendog 752a57d87e Update 'scripts/healthchecks/launch-docker.sh' 2023-08-13 21:51:52 +01:00
drunkendog aa2dc773f9 Update 'scripts/healthchecks/launch-docker.sh' 2023-08-13 21:51:30 +01:00
drunkendog 678af00368 Change default email port to 587 2023-08-13 21:47:19 +01:00
drunkendog 773cc3c8e4 Fix typo 2023-08-13 21:18:08 +01:00
drunkendog d4f454d75d Fix missing $s 2023-08-13 21:17:15 +01:00
drunkendog c1578a00a4 Remove spaces after variable names 2023-08-13 21:12:10 +01:00
drunkendog c1fb3a0c78 Update 'scripts/healthchecks/email.conf.copy' 2023-08-13 21:10:10 +01:00
drunkendog e7f1951f5d Add 'scripts/healthchecks/email.conf' 2023-08-13 21:03:31 +01:00
drunkendog 8c3e0f07f9 Update 'scripts/healthchecks/launch-docker.sh' 2023-08-13 21:02:35 +01:00
drunkendog e9c429e1db Add 'scripts/healthchecks/launch-docker.sh' 2023-08-13 20:52:24 +01:00
drunkendog 61217c5391 Add 'scripts/healthchecks/manifest.dat' 2023-08-13 20:51:11 +01:00
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,7 @@
export SITE_ROOT=
export REGISTRATION_OPEN=True
export DEFAULT_FROM_EMAIL=
export EMAIL_HOST=
export EMAIL_PORT="587"
export EMAIL_HOST_USER=
export EMAIL_HOST_PASSWORD=

View File

@ -0,0 +1,16 @@
. ./environment.conf
docker run -d --net main_subnet --ip 172.30.23.1 \
-e TZ=America/New_York \
-e DEBUG=False \
-e SITE_ROOT=$SITE_ROOT \
-e REGISTRATION_OPEN=$REGISTRATION_OPEN \
-e DEFAULT_FROM_EMAIL=$DEFAULT_FROM_EMAIL \
-e EMAIL_HOST=$EMAIL_HOST \
-e EMAIL_PORT=$EMAIL_PORT \
-e EMAIL_HOST_USER=$EMAIL_HOST_USER \
-e EMAIL_HOST_PASSWORD=$EMAIL_HOST_PASSWORD \
-e EMAIL_USE_TLS=True \
-v /opt/healthchecks/config:/config \
--name=healthchecks \
--restart unless-stopped \
lscr.io/linuxserver/healthchecks:latest

View File

@ -0,0 +1,9 @@
%
@ #ip_address
@ http://172.30.23.1:8000/
%
@ #service
@ healthchecks
%
@ #ADDITIONAL_REPLACE
@ template = template.replace("proxy_set_header Host $host;", "proxy_set_header Host $host;\nproxy_set_header Upgrade $http_upgrade;\nproxy_set_header Connection \"upgrade\";")