58 Commits

Author SHA1 Message Date
Christian Tosta 2e670a5c5a Monitor only running containers -- from boredazfcuk fork 2023-10-02 18:56:20 -03:00
Tyler Pace 2cb5d2bae9 Merge branch 'heal_script' 2023-04-18 18:38:05 -07:00
Tyler Pace d73e401716 Merge branch 'sleep_signals' 2023-04-18 18:24:18 -07:00
Tyler Pace 709b389319 Merge branch 'blacklist' 2023-04-18 18:21:46 -07:00
Tyler Pace 3ef82dc992 Manually merge PR#79. 2023-04-18 18:21:18 -07:00
Tyler Pace ab62fb4027 Merge branch 'entrypoint' 2023-04-18 18:08:58 -07:00
Tyler Pace 096842108e Merge branch 'apprise' 2023-04-18 18:07:43 -07:00
Carl Mercier 758d785dff Allow specifying a script to be executed after restarting a container 2023-04-18 20:27:11 -04:00
70m6 44da6aa643 properly handle signals while sleeping
https://i.imgur.com/OpOvSut.png
2022-06-15 17:04:00 +02:00
Arno Hautala 0cbd4e2537 blacklist support 2022-04-01 16:48:15 -04:00
Arno Hautala fe40542a5c silently curl in notifications 2021-10-15 08:40:53 -04:00
hthighwaymonk 44aaecc310 Update docker-entrypoint
line 75
using `"text":"$text" fails, but if you change it to `"content":"$text"` it works
2021-10-07 15:46:58 -07:00
Arno Hautala b8c89a85b0 added support for Apprise notifications 2021-10-05 19:57:40 -04:00
Dominik Deutsch 7f8ed3acd1 Removed notify only option 2021-07-11 16:54:52 +02:00
Dominik Deutsch 5b5d43e913 Added NOTIFY_ONLY option to disable automated container restarts 2021-06-11 14:11:06 +02:00
Dominik Deutsch 5bf4edcac8 Run notify_webhook as background process instead of just the curl command 2021-05-12 22:31:42 +02:00
Dominik Deutsch 449db17500 Execute webhook requests as background processes 2021-05-12 20:37:34 +02:00
Dominik Deutsch 6adc217055 Fixed alert messages 2021-05-12 17:06:11 +02:00
Dominik Deutsch a1d0e0e825 Notify webhooks using a generic URL 2021-05-12 15:34:32 +02:00
Dominik Deutsch 7545e77c1e Added support for Slack / MS Teams webhooks 2021-05-12 14:16:27 +02:00
nukedupe 9e8c865c74 fix typo 2021-04-16 20:27:25 +02:00
nukedupe 724611862f fix issue #48 2021-04-16 13:12:51 +02:00
nukedupe 827924d0b7 Update docker-entrypoint
redirect output to stderr

Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2021-04-16 12:52:00 +02:00
nukedupe 58712cde26 Update docker-entrypoint
Don't exit 0 if there's an error.

Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2021-04-16 12:51:21 +02:00
nukedupe 35e7733b0c add tcp support 2021-04-16 01:27:23 +02:00
nukedupe ab84fc5c35 fix issue #48 2021-04-16 01:26:02 +02:00
hjaske aed23ac7a4 check container state not restarting
Don't restart containers which state is restarting.
2021-02-08 16:14:13 +02:00
will Farrell bba733b968 fix: revert 2021-02-06 12:33:13 -07:00
Hasnat d5bd0c2d66 not restart already restarting containers
fixes #53
2021-02-04 11:18:24 +00:00
will Farrell 7c911ef6f1 Merge branch 'master' into shellcheck 2020-11-30 21:57:06 -07:00
will Farrell 75feb09301 Merge pull request #37 from oyxnaut/docker-tcp
Add ability to use TCP sockets (TLS only)
2020-11-30 21:47:00 -07:00
Thomas Dietrich a1332a717f Hide START_PERIOD=0 from log 2020-06-03 15:07:24 +02:00
Philipp Schmitt 927589ba66 Refactor and shellcheck 2020-03-11 18:53:40 +01:00
oxynaut 7457fc5071 Add ability to use TCP sockets (TLS only) 2020-03-06 16:59:24 +01:00
Hasnat Ullah 5d2839a43b More appropriate self healthcheck 2019-06-03 20:14:28 +01:00
will Farrell 11e75ab9a2 Merge branch 'master' into stop-timeouts 2019-02-26 00:17:24 -07:00
will Farrell 3be2e31184 Merge pull request #25 from rishiloyola/master
Exit if right most command fails in pipe
2019-02-26 00:16:53 -07:00
Johnny Marnell c1e3ad0711 Add global and per container stop timeouts ; minor doc fixes 2019-02-25 18:52:58 -05:00
Rishi d1a2e17253 Exit if right most command fails in pipe 2019-01-23 22:46:05 +05:30
Norman Rzepka 2d895e859a Update docker-entrypoint
When using the default start period, autoheal always prints `Monitoring containers for unhealthy status in  second(s)`
2019-01-21 11:58:19 +01:00
will Farrell acd100b124 Merge pull request #18 from Cyber1000/master
Changed system to only one docker-api request, api-request now only g…
2018-12-08 09:54:44 -07:00
Johann BERNEZ b0d602ded1 Added AUTOHEAL_START_PERIOD to delay the first health check 2018-12-08 11:31:58 +01:00
Harald Heigl b1fe537daa Removed tmp_dir (not needed anymore) 2018-10-29 09:42:26 +01:00
Harald Heigl 8830a6b454 Changed system to only one docker-api request, api-request now only gets unhealthy containers 2018-10-29 09:08:32 +01:00
shidenggui caf3817b30 Fix grammer error 2018-06-15 16:38:12 +08:00
jon 5d80dcb643 Delete container from restart list when container name is null 2018-06-15 12:05:33 +08:00
Hans Schulz 6a65ad6e98 Update docker-entrypoint 2018-05-18 10:14:56 +02:00
Hans Schulz 31e8dfccd1 add curl timeout 2018-05-17 16:28:18 +02:00
Hasnat 20791b1cab show container name in log (not us docker binary this time)
related to #9
2018-04-20 17:46:32 +01:00
will Farrell 3e9a92ddc6 Revert "Adds container name in log" 2018-04-20 10:12:30 -06:00