ZendHQ Docker Image

We provide a ZendHQ container image suitable for use with Docker or Podman:

  • cr.zend.com/zendhq

The image has the following tags:

  • debian-10
  • ubuntu-20.04
  • rocky-8
  • centos-7

Visit cr.zend.com for an up-to-date list of tags.

All ZendHQ container images can be configured via a combination of environment variables and /entrypoint.d/ scripts.

Environment variables

Environment Variable Default Purpose
OS_ID One of "ubuntu", "debian", or "centos", based on image tag Identifies the operating system
OS_VERSION Based on image tag Identifies the operating system version used in image
S6OVERLAY_VERSION v2.2.0.3 Identifies the version of the s6-overlay to use in the container; must be in the v2 series
ZENDHQ_TOKEN zendphp The token to use when authenticating with ZendHQ

The environment.d directory

You may place the following in the /environment.d/ directory, to have the following effects:

  • zendhqd.ini: The file that is used as the zendhqd.ini file by the container.
  • default_monitor_rules.json: The default_monitor_rules.json file that is used by the container to seed monitoring rules on zendhqd initialization.
  • license: Your ZendHQ license file.
  • *.sh: Any executable shell scripts in this directory are executed during container initialization.

FAQ

  • If a ZENDHQ_TOKEN environment variable is provided, its value is injected into the zendhqd.ini file after it has been copied from the /entrypoint.d/ directory.
  • Any files in the /environment.d/ directory other than those listed in the above section are ignored.