docker运行zabbix3.0

docker-compose.yml

version: '2'
services:
  zabbix-db:
    image: monitoringartist/zabbix-db-mariadb
    volumes:
      - zabbix-db-storage:/var/lib/mysql
      - backups:/backups
      - /etc/localtime:/etc/localtime:ro
    environment:
      - MARIADB_USER=zabbix
      - MARIADB_PASS=my_password
  zabbix-server:
    image: monitoringartist/zabbix-3.0-xxl
    depends_on:
      - zabbix-db
    ports:
      - "80:80"
      - "10051:10051"
    volumes:
      - /etc/localtime:/etc/localtime:ro
    links:
      - zabbix-db:zabbix.db
    environment:
      - ZS_DBHost=zabbix.db
      - ZS_DBUser=zabbix
      - ZS_DBPassword=my_password
volumes:
  zabbix-db-storage:
    driver: local
  backups:
    driver: local

打开UI

http://192.168.99.100/index.php

docker运行zabbix3.0_第1张图片

默认Admin/zabbix

docker运行zabbix3.0_第2张图片

3.0的界面是不是令人赏心悦目

docs

  • zabbix-docker

  • zabbix-3.0-xxl

  • zabbix-documentation

你可能感兴趣的:(docker,zabbix)