mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
add healthchecks
This commit is contained in:
parent
5e5bff056e
commit
640445a77b
@ -350,6 +350,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] grafana/grafana
|
- [x] grafana/grafana
|
||||||
- [x] hasura/graphql-engine
|
- [x] hasura/graphql-engine
|
||||||
- [x] haproxy
|
- [x] haproxy
|
||||||
|
- [x] healthchecks/healthchecks
|
||||||
- [x] homeassistant/home-assistant
|
- [x] homeassistant/home-assistant
|
||||||
- [x] h2non/imaginary
|
- [x] h2non/imaginary
|
||||||
- [x] jellyfin/jellyfin
|
- [x] jellyfin/jellyfin
|
||||||
|
24
healthchecks/README.md
Normal file
24
healthchecks/README.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
healthchecks
|
||||||
|
============
|
||||||
|
|
||||||
|
[Healthchecks][1] is a cron job monitoring service. It listens for HTTP
|
||||||
|
requests and email messages ("pings") from your cron jobs and scheduled tasks
|
||||||
|
("checks"). When a ping does not arrive on time, Healthchecks sends out alerts.
|
||||||
|
|
||||||
|
## up and running
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ mkdir -m 777 data
|
||||||
|
$ docker-compose up -d
|
||||||
|
$ docker-compose exec healthchecks bash
|
||||||
|
>>> ./manage.py migrate
|
||||||
|
>>> ./manage.py createsuperuser
|
||||||
|
Email address: admin@easypi.duckdns.org
|
||||||
|
Password: ******
|
||||||
|
Password (again): ******
|
||||||
|
Superuser created successfully.
|
||||||
|
>>> exit
|
||||||
|
$ curl http://127.0.0.1:8000
|
||||||
|
```
|
||||||
|
|
||||||
|
[1]: https://github.com/healthchecks/healthchecks
|
12
healthchecks/docker-compose.yml
Normal file
12
healthchecks/docker-compose.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
healthchecks:
|
||||||
|
image: healthchecks/healthchecks
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
environment:
|
||||||
|
- DEBUG=False
|
||||||
|
- DB_NAME=/data/hc.db
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user