daily pastebin goal
9%
SHARE
TWEET

Untitled

a guest Oct 23rd, 2018 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3'
  2. services:
  3.     db:
  4.         image: mariadb
  5.         environment:
  6.             - MYSQL_ROOT_PASSWORD=123456
  7.    
  8.     zabbix:
  9.         image: zabbix/zabbix-server-mysql
  10.         environment:
  11.             - DB_SERVER_HOST=db
  12.             - MYSQL_USER=root
  13.             - MYSQL_PASSWORD=123456
  14.         ports:
  15.             - 10051
  16.         links:
  17.             - db:db
  18.         depends_on:
  19.             - db
  20.    
  21.     web:
  22.         image: zabbix/zabbix-web-apache-mysql
  23.         environment:
  24.             - DB_SERVER_HOST=db
  25.             - MYSQL_USER=root
  26.             - MYSQL_PASSWORD=123456
  27.             - ZBX_SERVER_HOST=zabbix
  28.             - PHP_TZ=Asia/Shanghai
  29.         ports:
  30.             - '8888:80'
  31.         links:
  32.             - db:db
  33.             - zabbix:zabbix
  34.         depends_on:
  35.             - db
  36.             - zabbix
  37.    
  38.     agent:
  39.         image: zabbix/zabbix-agent
  40.         environment:
  41.             - ZBX_SERVER_HOST=zabbix
  42.             - ZBX_HOSTNAME=Zabbix server
  43.         links:
  44.             - zabbix:zabbix
  45.         depends_on:
  46.             - zabbix
  47.             - web
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top