标签:document code manual strong docker部署 col 关联 web mic
官方文档
https://www.zabbix.com/documentation/3.4/zh/manual/installation/containers
1 docker run --name mysql-server -t \
2 -e MYSQL_DATABASE="zabbix" 3 -e MYSQL_USER="zabbix" 4 -e MYSQL_PASSWORD="zabbix" 5 -e MYSQL_ROOT_PASSWORD="zabbix" 6 -d mysql:5.7 7 --character-set-server=utf8 --collation-server=utf8_bin
2 启动Zabbix server实例,并关联这个实例到已创建的MySQL服务器实例
1 docker run --name zabbix-server-mysql -t \
2 -e DB_SERVER_HOST="mysql-server" 3 -e MYSQL_DATABASE="zabbix" 4 -e MYSQL_USER="zabbix" 5 -e MYSQL_PASSWORD="zabbix" 6 -e MYSQL_ROOT_PASSWORD="zabbix" 7 --link mysql-server:mysql \
8 -p 10051:10051 9 -d zabbix/zabbix-server-mysql:latest
1 docker run --name zabbix-web-nginx-mysql -t \
2 -e DB_SERVER_HOST="mysql-server" 3 -e MYSQL_DATABASE="zabbix" 4 -e MYSQL_USER="zabbix" 5 -e MYSQL_PASSWORD="zabbix" 6 -e MYSQL_ROOT_PASSWORD="zabbix" 7 --link mysql-server:mysql \
8 --link zabbix-server-mysql:zabbix-server \
9 -p 8080:80 10 -d zabbix/zabbix-web-nginx-mysql:latest
1 docker ps
1 docker images
http://192.168.226.190:8080
帐号密码:
Admin
zabbix
标签:document code manual strong docker部署 col 关联 web mic
原文地址:https://www.cnblogs.com/lanyincao/p/11984499.html