成人国产在线小视频_日韩寡妇人妻调教在线播放_色成人www永久在线观看_2018国产精品久久_亚洲欧美高清在线30p_亚洲少妇综合一区_黄色在线播放国产_亚洲另类技巧小说校园_国产主播xx日韩_a级毛片在线免费

資訊專(zhuān)欄INFORMATION COLUMN

zabbix 4.0.3 use docker-compose deploy

icattlecoder / 1795人閱讀

摘要:使用部署配置文件如下另安裝,中文無(wú)法顯示的問(wèn)題

CentOS 7 使用 docker-compose 部署zabbix 4.0.3

docker-compose.yaml 配置文件如下:

version: "3.1"
services:
  db:
    image: mysql
    command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --default-time-zone="+08:00"
    restart: unless-stopped
    environment:
      MYSQL_ROOT_PASSWORD: "MysqlPasswd"
      MYSQL_ALLOW_EMPTY_PASSWORD: "no"
    ports:
      - 9306:3306
    volumes:
      - /data/dockerdata/db/data:/var/lib/mysql
      - /data/dockerdata/db/conf:/etc/mysql/conf.d
      - /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime
  server:
    image: zabbix/zabbix-server-mysql:centos-4.0.3
    restart: unless-stopped
    environment:
      DB_SERVER_HOST: db
      MYSQL_USER: root
      MYSQL_PASSWORD: MysqlPasswd
      ZBX_TIMEOUT: 30
    ports:
      - 9051:10051
      - 8444:10051
    volumes:
      - /data/dockerdata/server/alertscripts:/usr/lib/zabbix/alertscripts
      - /data/dockerdata/server/externalscripts:/usr/lib/zabbix/externalscripts
      - /data/dockerdata/server/modules:/var/lib/zabbix/modules
      - /data/dockerdata/server/enc:/var/lib/zabbix/enc
      - /data/dockerdata/server/ssh_keys:/var/lib/zabbix/ssh_keys
      - /data/dockerdata/server/ssl/certs:/var/lib/zabbix/ssl/certs
      - /data/dockerdata/server/ssl/keys:/var/lib/zabbix/ssl/keys
      - /data/dockerdata/server/ssl/ssl_ca:/var/lib/zabbix/ssl/ssl_ca
      - /data/dockerdata/server/snmptraps:/var/lib/zabbix/snmptraps
      - /data/dockerdata/server/mibs:/var/lib/zabbix/mibs
      - /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime
  web:
    image: zabbix/zabbix-web-nginx-mysql:centos-4.0.3
    restart: unless-stopped
    environment:
      DB_SERVER_HOST: db
      MYSQL_USER: root
      MYSQL_PASSWORD: MysqlPasswd
      ZBX_SERVER_HOST: server
      PHP_TZ: "Asia/Shanghai"
      ZBX_SERVER_NAME: aws
    ports:
      - 8081:80
    volumes:
      - /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime

另:zabbix docker安裝,中文無(wú)法顯示的問(wèn)題

文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請(qǐng)注明本文地址:http://systransis.cn/yun/27725.html

相關(guān)文章

  • Deploy Django Project of local MySQL DB using Dock

    摘要: Docker in Windows Normally, those kinds of things will be much more troublesome when you want to run them in Windows compare to in Linux. However, Docker has made quite user-friendly for Window...

    Juven 評(píng)論0 收藏0
  • Deploy Django Project of local MySQL DB using Dock

    摘要: Docker in Windows Normally, those kinds of things will be much more troublesome when you want to run them in Windows compare to in Linux. However, Docker has made quite user-friendly for Window...

    Keagan 評(píng)論0 收藏0
  • 使用docker部署node集群

    摘要:本文會(huì)通過(guò)三個(gè)簡(jiǎn)單的,演示如何通過(guò)部署集群。首先創(chuàng)建集群然后部署集群查看集群運(yùn)行情況然后查看容器運(yùn)行情況可以看到當(dāng)前有個(gè)容器在運(yùn)行,一個(gè)容器,五個(gè)容器。 本文會(huì)通過(guò)三個(gè)簡(jiǎn)單的demo,演示如何通過(guò)docker部署node集群。 如果想學(xué)習(xí)docker,官方文檔是一個(gè)不錯(cuò)的入門(mén)指引,或者可以看這個(gè)gitbook。 一、部署node容器 首先準(zhǔn)備一個(gè)node服務(wù)demo,代碼如下: con...

    sunny5541 評(píng)論0 收藏0

發(fā)表評(píng)論

0條評(píng)論

最新活動(dòng)
閱讀需要支付1元查看
<