Levelrail
Skip to content

Self-host Zabbix with Docker ​

Enterprise-grade network, server, and application monitoring with alerting and trend graphs.

This page describes the Levelrail template for Zabbix (Monitoring). It deploys the services below as one Docker Compose app on your own server.

Project site: https://www.zabbix.com/documentation/current/en/manual/installation/containers.

Recommended memory: about 1024 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbpostgres:16-alpinenone
zabbix_db_data -> /var/lib/postgresql/data
zabbix-serverzabbix/zabbix-server-pgsql:alpine-7.4-latestnone
zabbix_server_data -> /var/lib/zabbix
zabbix-webzabbix/zabbix-web-nginx-pgsql:alpine-7.4-latest8080none

Environment variables ​

ServiceVariableValue
dbPOSTGRES_DBPreset in the template
dbPOSTGRES_PASSWORDGenerated at deploy
dbPOSTGRES_USERPreset in the template
zabbix-serverDB_SERVER_HOSTPreset in the template
zabbix-serverPOSTGRES_DBPreset in the template
zabbix-serverPOSTGRES_PASSWORDGenerated at deploy
zabbix-serverPOSTGRES_USERPreset in the template
zabbix-webDB_SERVER_HOSTPreset in the template
zabbix-webPHP_TZPreset in the template
zabbix-webPOSTGRES_DBPreset in the template
zabbix-webPOSTGRES_PASSWORDGenerated at deploy
zabbix-webPOSTGRES_USERPreset in the template
zabbix-webZBX_SERVER_HOSTPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Zabbix with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Zabbix. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy zabbix --name my-zabbix

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Monitoring templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.