diff --git a/README.md b/README.md index fd2efec..66a99da 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ that I intend to add to this repository. It is still growing, and I welcome - [x] [gluetun](https://github.com/qdm12/gluetun) - [ ] [Graphite](https://graphiteapp.org/) - [x] [Graylog](https://graylog.org) -- [ ] [Healthchecks](https://healthchecks.io/) +- [x] [Healthchecks](https://healthchecks.io/) - [x] [hoarder](https://hoarder.app/) - [x] [Homarr](https://homarr.dev/) - [x] [Homepage](https://gethomepage.dev/) diff --git a/quadlets/healthchecks/healthchecks-postgres.container b/quadlets/healthchecks/healthchecks-postgres.container new file mode 100644 index 0000000..115e23b --- /dev/null +++ b/quadlets/healthchecks/healthchecks-postgres.container @@ -0,0 +1,26 @@ +[Unit] +Description=Healthchecks postgres +Requires=healthchecks-postgres.service +After=healthchecks-postgres.service + +[Service] +Restart=on-failure +TimeoutStartSec=900 + +[Install] +WantedBy=default.target + +[Container] +Image=docker.io/postgres:16 +ContainerName=healthchecks-postgres +AutoUpdate=registry + +Network=healthchecks.network +HostName=healthchecks-postgres +PublishPort=8000:8000 + +Volume=healthchecks-postgres:/var/lib/postgresql/data + +Environment=POSTGRES_DB=healthchecks + +Secret=healthchecks-postgres-password,type=env,target=POSTGRES_PASSWORD diff --git a/quadlets/healthchecks/healthchecks.container b/quadlets/healthchecks/healthchecks.container new file mode 100644 index 0000000..1247622 --- /dev/null +++ b/quadlets/healthchecks/healthchecks.container @@ -0,0 +1,24 @@ +[Unit] +Description=Healthchecks +Requires=healthchecks-postgres.service +After=healthchecks-postgres.service + +[Service] +Restart=on-failure +TimeoutStartSec=900 + +[Install] +WantedBy=default.target + +[Container] +Image=docker.io/healthchecks:latest +ContainerName=healthchecks +AutoUpdate=registry + +Network=healthchecks.network +HostName=healthchecks +PublishPort=8000:8000 + +EnvironmentFile=healthchecks.env + +Exec=uwsgi /opt/healthchecks/docker/uwsgi.ini diff --git a/quadlets/healthchecks/healthchecks.env b/quadlets/healthchecks/healthchecks.env new file mode 100644 index 0000000..db9a0a9 --- /dev/null +++ b/quadlets/healthchecks/healthchecks.env @@ -0,0 +1,80 @@ +ALLOWED_HOSTS=localhost +APPRISE_ENABLED=False +DB=postgres +DB_CONN_MAX_AGE=0 +DB_HOST=db +DB_NAME=hc +# Use Secret=... +# DB_PASSWORD=fixme-postgres-password +DB_PORT=5432 +DB_SSLMODE=prefer +DB_TARGET_SESSION_ATTRS=read-write +DB_USER=postgres +DEBUG=False +DEFAULT_FROM_EMAIL=healthchecks@example.org +DISCORD_CLIENT_ID= +DISCORD_CLIENT_SECRET= +EMAIL_HOST= +EMAIL_HOST_PASSWORD= +EMAIL_HOST_USER= +EMAIL_PORT=587 +EMAIL_USE_TLS=True +EMAIL_USE_VERIFICATION=True +INTEGRATIONS_ALLOW_PRIVATE_IPS=False +LINENOTIFY_CLIENT_ID= +LINENOTIFY_CLIENT_SECRET= +MASTER_BADGE_LABEL=Mychecks +MATRIX_ACCESS_TOKEN= +MATRIX_HOMESERVER= +MATRIX_USER_ID= +MATTERMOST_ENABLED=True +MSTEAMS_ENABLED=True +OPSGENIE_ENABLED=True +PAGERTREE_ENABLED=True +PD_APP_ID= +PD_ENABLED=True +PING_BODY_LIMIT=10000 +PING_EMAIL_DOMAIN=localhost +PING_ENDPOINT=http://localhost:8000/ping/ +PROMETHEUS_ENABLED=True +PUSHBULLET_CLIENT_ID= +PUSHBULLET_CLIENT_SECRET= +PUSHOVER_API_TOKEN= +PUSHOVER_EMERGENCY_EXPIRATION=86400 +PUSHOVER_EMERGENCY_RETRY_DELAY=300 +PUSHOVER_SUBSCRIPTION_URL= +REGISTRATION_OPEN=True +REMOTE_USER_HEADER= +ROCKETCHAT_ENABLED=True +RP_ID= +S3_ACCESS_KEY= +S3_BUCKET= +S3_ENDPOINT= +S3_REGION= +S3_SECRET_KEY= +S3_TIMEOUT=60 +S3_SECURE=True +SECRET_KEY=--- +SHELL_ENABLED=False +SIGNAL_CLI_SOCKET= +SITE_LOGO_URL= +SITE_NAME=Mychecks +SITE_ROOT=http://localhost:8000 +SLACK_CLIENT_ID= +SLACK_CLIENT_SECRET= +SLACK_ENABLED=True +# SMTPD_PORT= +SPIKE_ENABLED=True +TELEGRAM_BOT_NAME=ExampleBot +TELEGRAM_TOKEN= +TRELLO_APP_KEY= +TWILIO_ACCOUNT= +TWILIO_AUTH= +TWILIO_FROM= +TWILIO_USE_WHATSAPP=False +USE_PAYMENTS=False +VICTOROPS_ENABLED=True +WEBHOOKS_ENABLED=True +WHATSAPP_DOWN_CONTENT_SID= +WHATSAPP_UP_CONTENT_SID= +ZULIP_ENABLED=True diff --git a/quadlets/healthchecks/healthchecks.network b/quadlets/healthchecks/healthchecks.network new file mode 100644 index 0000000..a42dbf4 --- /dev/null +++ b/quadlets/healthchecks/healthchecks.network @@ -0,0 +1,6 @@ +[Unit] +Description=Healthchecks network + +[Network] +NetworkName=healthchecks + diff --git a/quadlets/healthchecks/healthchecks.volume b/quadlets/healthchecks/healthchecks.volume new file mode 100644 index 0000000..ee0c698 --- /dev/null +++ b/quadlets/healthchecks/healthchecks.volume @@ -0,0 +1,3 @@ +[Volume] +VolumeName=healthchecks-postgres +