Skip to content

Instantly share code, notes, and snippets.

@itkq
Created March 8, 2017 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itkq/26d7f7607e53e947ada4e2f67ac3f1d1 to your computer and use it in GitHub Desktop.
Save itkq/26d7f7607e53e947ada4e2f67ac3f1d1 to your computer and use it in GitHub Desktop.
Dockerized Zabbix 2.4
version: '2'
services:
db-data:
image: busybox:latest
volumes:
- /var/lib/mysql
zabbix-db:
image: monitoringartist/zabbix-db-mariadb
environment:
- MARIADB_USER=zabbix
- MARIADB_PASS=my_password
ports:
- "3306:3306"
volumes_from:
- db-data
zabbix:
image: monitoringartist/zabbix-2.4
links:
- zabbix-db:zabbix.db
environment:
- ZS_DBHost=zabbix.db
- ZS_DBUser=zabbix
- ZS_DBPassword=my_password
- XXL_zapix=true
- XXL_grapher=true
ports:
- "80:80"
- "10051:10051"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment