binhex-healarr

binhex-healarr

Docker 应用程序 from Binhex's Repository

概述

Healarr monitors Docker containers for unhealthy status and automatically performs configurable actions (restart, stop, etc.) with retry logic to prevent false positives. It supports filtering by container label, environment variable, or name, and includes comprehensive logging.

运行时参数

网络
bridge
外壳
bash
特权
false
额外参数
--restart=unless-stopped

模板配置

Path: /configPathrw

This is the container path to your configuration files, e.g. databases, configuration files, logs etc.

目标
/config
默认值
/mnt/user/appdata/healarr
Path: /var/run/docker.sockPathrw

Docker socket for container management - REQUIRED if not using DOCKER_HOST. Remove this if using Docker socket proxy.

目标
/var/run/docker.sock
默认值
/var/run/docker.sock
Variable: DOCKER_HOSTVariable

Docker socket proxy address (e.g. 'tcp://dockersocket:2375'). Use this as a secure alternative to mounting /var/run/docker.sock. Leave empty to use direct socket mount.

目标
DOCKER_HOST
Variable: MONITOR_INTERVALVariable

Time in seconds between checking for containers that are 'unhealthy' (default: 60).

目标
MONITOR_INTERVAL
默认值
60
Variable: RETRY_COUNTVariable

Number of times to verify unhealthy status before taking action (default: 3).

目标
RETRY_COUNT
默认值
3
Variable: RETRY_DELAYVariable

Time in seconds to wait between retry health checks (default: 10).

目标
RETRY_DELAY
默认值
10
Variable: ACTIONVariable

Docker action to execute on unhealthy containers: restart, stop, pause, unpause, kill or none (no action).

目标
ACTION
默认值
restart|stop|pause|unpause|kill|none
Variable: CONTAINER_LABELVariable

Filter containers by label (e.g. 'com.example.monitor=true'). Filters use OR logic.

目标
CONTAINER_LABEL
Variable: CONTAINER_ENV_VARVariable

Filter containers by environment variable (e.g. 'MONITOR_ENABLED=true'). Filters use OR logic.

目标
CONTAINER_ENV_VAR
Variable: CONTAINER_NAMEVariable

Filter containers by name, comma-separated (e.g. 'sonarr,radarr,plex'). Filters use OR logic.

目标
CONTAINER_NAME
Variable: APPRISE_NOTIFICATION_SERVICESVariable

Comma-separated list of Apprise service URLs for notifications (e.g. 'mailto://user:pass@gmail.com,discord://webhook_id/webhook_token').

目标
APPRISE_NOTIFICATION_SERVICES
Variable: LOG_LEVELVariable

Logging level: 0=DEBUG, 1=INFO, 2=WARN, 3=ERROR (default: 1).

目标
LOG_LEVEL
默认值
1
Variable: ENABLE_HEALTHCHECKVariable

Enable or disable healthchecks (this container).

目标
ENABLE_HEALTHCHECK
默认值
yes|no
Variable: HEALTHCHECK_COMMANDVariable

The command or script to execute, if not specified then the script healthcheck.sh will be used (process, dns and https checking).

目标
HEALTHCHECK_COMMAND
Variable: HEALTHCHECK_ACTIONVariable

The action to execute if the healthcheck command returns a non zero exit code, if not specified the action will be 'exit 1', if you want the container to exit on failure then set the action to 'kill 1'.

目标
HEALTHCHECK_ACTION
Variable: HEALTHCHECK_HOSTNAMEVariable

The hostname used when performing HTTPS and DNS healthchecking.

目标
HEALTHCHECK_HOSTNAME
默认值
google.com
Variable: PUIDVariable

User ID for the running container

目标
PUID
默认值
99
Variable: PGIDVariable

Group ID for the running container

目标
PGID
默认值
100
Variable: UMASKVariable

UMASK for the running container

目标
UMASK
默认值
000

下载统计数据

1,398
下载总数

详细信息

存储库
ghcr.io/binhex/arch-healarr
最后更新2026-01-07
初见2025-12-29

在Unraid 上运行 binhex-healarr 。

binhex-healarr 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。