Deploy Zabbix
Zabbix 8.0 LTS monitoring: server, web UI and PostgreSQL, no default login
zabbix-web
Just deployed
zabbix-server
Just deployed
Just deployed
/var/lib/postgresql/data
Deploy and Host Zabbix on Railway
Zabbix is an open-source, enterprise-grade monitoring platform. It collects metrics from servers, network devices, applications, databases and cloud services through agents, SNMP, HTTP checks and APIs, evaluates them against triggers, and sends alerts. A web interface shows dashboards, graphs, maps and current problems for your whole infrastructure.
About Hosting Zabbix
A Zabbix installation has three parts: the Zabbix server, which polls hosts, receives data and evaluates triggers; the web interface (PHP), where you configure monitoring and view data; and a database that holds all configuration and history. This template deploys Zabbix 8.0 LTS from the official images: the server and the nginx web interface, each built from a small GitHub repo, plus Railway PostgreSQL. The server creates the database schema on its first start. The web interface is public and the server stays on the private network. The default Admin password is replaced with a generated one before the site goes live.
Common Use Cases
- Monitor Linux and Windows servers, containers and their services with Zabbix agents
- Check websites, APIs and TLS certificates with web scenarios and HTTP agent items
- Watch network devices over SNMP and get alerts by email, Slack, Telegram or webhooks
Dependencies for Zabbix Hosting
- PostgreSQL (Railway PostgreSQL, included)
- Zabbix server and Zabbix web interface 8.0 LTS (official Docker images)
Deployment Dependencies
- Zabbix 8.0 documentation: https://www.zabbix.com/documentation/8.0/en/manual
- Zabbix in containers: https://www.zabbix.com/documentation/8.0/en/manual/installation/containers
- Template source and changelog: https://github.com/aalfath/zabbix-railway-template
Implementation Details
- Sign in as
Adminwith the password in theZBX_ADMIN_PASSWORDvariable of thezabbix-webservice. There is no default password: on the first boot the web service sets this one through the Zabbix API, and its health check (/healthz) stays red until it has. - The built-in "Zabbix server" host monitors the server with internal checks. The "Linux by Zabbix agent" template is unlinked on first boot because no agent runs next to the server.
- Agents that push data (active checks) need to reach the server on port 10051: add a TCP proxy to the
zabbix-serverservice and use its address asServerActive. - Optional settings from the official images (for example
PHP_TZ,ZBX_CACHESIZE,ZBX_STARTPOLLERS) can be added as service variables. Email and other media types are set up in the web interface. - All data is in PostgreSQL. Back up its volume before a major upgrade.
Why Deploy Zabbix on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Zabbix on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
zabbix-web
aalfath/zabbix-railway-templatezabbix-server
aalfath/zabbix-railway-template
