feat(healthchecks): add healthchecks
This commit is contained in:
parent
c48014cb23
commit
6d9e428987
6 changed files with 140 additions and 1 deletions
|
@ -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)
|
- [x] [gluetun](https://github.com/qdm12/gluetun)
|
||||||
- [ ] [Graphite](https://graphiteapp.org/)
|
- [ ] [Graphite](https://graphiteapp.org/)
|
||||||
- [x] [Graylog](https://graylog.org)
|
- [x] [Graylog](https://graylog.org)
|
||||||
- [ ] [Healthchecks](https://healthchecks.io/)
|
- [x] [Healthchecks](https://healthchecks.io/)
|
||||||
- [x] [hoarder](https://hoarder.app/)
|
- [x] [hoarder](https://hoarder.app/)
|
||||||
- [x] [Homarr](https://homarr.dev/)
|
- [x] [Homarr](https://homarr.dev/)
|
||||||
- [x] [Homepage](https://gethomepage.dev/)
|
- [x] [Homepage](https://gethomepage.dev/)
|
||||||
|
|
26
quadlets/healthchecks/healthchecks-postgres.container
Normal file
26
quadlets/healthchecks/healthchecks-postgres.container
Normal file
|
@ -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
|
24
quadlets/healthchecks/healthchecks.container
Normal file
24
quadlets/healthchecks/healthchecks.container
Normal file
|
@ -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
|
80
quadlets/healthchecks/healthchecks.env
Normal file
80
quadlets/healthchecks/healthchecks.env
Normal file
|
@ -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
|
6
quadlets/healthchecks/healthchecks.network
Normal file
6
quadlets/healthchecks/healthchecks.network
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Healthchecks network
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
NetworkName=healthchecks
|
||||||
|
|
3
quadlets/healthchecks/healthchecks.volume
Normal file
3
quadlets/healthchecks/healthchecks.volume
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[Volume]
|
||||||
|
VolumeName=healthchecks-postgres
|
||||||
|
|
Loading…
Add table
Reference in a new issue