How to Get Zabbix Running docker compose - richnadeau/Tech-Journal-SYS265 GitHub Wiki
Zabbix Docker-Compose Tutorial
Prerequisites
Make sure you have docker, docker-compose, and git all installed on your ubuntu.
Step by Step
- In your user's home directory, Git clone Zabbix's docker-compose repository
#git clone https://github.com/zabbix/zabbix-docker
- Change Directory into zabbix-docker, and edit the file you need use (if using Ubuntu 18.04 use docker-compose_v3_ubuntu_mysql_latest.yaml) using vi or nano. We will need to comment out two lines of code using #. Both lines of code are start_period and you can find them on line 203 and line 256
#cd zabbix-docker
#sudo vi docker-compose_v3_ubuntu_mysql_latest.yaml
- After editing the file, we will want to pull that file which will get us all of the containers we need from that file then we will set the containers to up which will download all the files we need for Zabbix and extract them so it can be up and running.
#docker-compose -f docker-compose_v3_ubuntu_mysql_latest.yaml pull
#docker-compose -f docker-compose_v3_ubuntu_mysql_latest.yaml up -d
- After it is done downloading, check to make sure your containers are there and running using docker ps.
#docker ps
- Give Zabbix time to configure/connect with everything before attempting to connect to it through a browser in your environment. If done correctly, you will encounter the login screen (default username: Admin default password: zabbix) and you will be able to configure everything using the GUI in the browser.