From edc43c8432fc0991cd570fd125b85fdde67323c3 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Sun, 27 Mar 2022 19:45:31 +0200 Subject: [PATCH] Add healthchecks --- healthchecks/README.md | 4 +++ healthchecks/docker-compose.yaml | 42 ++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 healthchecks/README.md create mode 100644 healthchecks/docker-compose.yaml diff --git a/healthchecks/README.md b/healthchecks/README.md new file mode 100644 index 0000000..5c8d79f --- /dev/null +++ b/healthchecks/README.md @@ -0,0 +1,4 @@ +# healthchecks + + A cron monitoring tool written in Python & Django + diff --git a/healthchecks/docker-compose.yaml b/healthchecks/docker-compose.yaml new file mode 100644 index 0000000..1cbdec2 --- /dev/null +++ b/healthchecks/docker-compose.yaml @@ -0,0 +1,42 @@ +version: '3.5' +services: + healthchecks: + image: ghcr.io/linuxserver/healthchecks:${healthchecks_version:-latest} + container_name: healthchecks + restart: unless-stopped + environment: + - PUID=1000 + - PGID=1000 + - SITE_ROOT=https://health.jfreudenberger.de + - SITE_NAME=Healthchecks + - DEFAULT_FROM_EMAIL=${DEFAULT_FROM_EMAIL} + - EMAIL_HOST=${EMAIL_HOST} + - EMAIL_PORT=${EMAIL_PORT} + - EMAIL_HOST_USER=${EMAIL_HOST_USER} + - EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD} + - EMAIL_USE_TLS=True + - MATRIX_HOMESERVER=${MATRIX_HOMESERVER} + - MATRIX_USER_ID=${MATRIX_USER_ID} + - MATRIX_ACCESS_TOKEN=${MATRIX_ACCESS_TOKEN} + - ALLOWED_HOSTS=['health.jfreudenberger.de'] + - SUPERUSER_EMAIL=${SUPERUSER_EMAIL} + - SUPERUSER_PASSWORD=${SUPERUSER_PASSWORD} + - REGENERATE_SETTINGS=True + - REGISTRATION_OPEN=${REGISTRATION_OPEN:-False} + - SECRET_KEY=${SECRET_KEY} + - DEBUG=${DEBUG:-False} + - VIRTUAL_HOST=health.jfreudenberger.de + - VIRTUAL_PORT=80 + - LETSENCRYPT_HOST=health.jfreudenberger.de + volumes: + - config:/config + networks: + - webproxy + +volumes: + config: + +networks: + webproxy: + external: true + name: webproxy