Skip to content

Latest commit

 

History

History

hertzbeat-mysql-victoria-metrics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Docker-Compose deployment HertzBeat+Mysql+VictoriaMetrics Solution

The docker-compose deployment scheme uses Mysql + VictoriaMetrics as the dependent storage service of Hertzbeat. This solution will start three container services Mysql, VictoriaMetrics, HertzBeat

Install Docker & Docker-compose
  1. Download and install docker environment & docker-compose environment Please refer to Docker official website documentation, Compose installation
    $ docker -v
    Docker version 20.10.12, build e91ed57
    
docker compose deploys hertzbeat and its dependent services
  1. Download the hertzbeat-docker-compose installation deployment script file The script file is located in script/docker-compose/hertzbeat-mysql-victoria-metrics link script/docker-compose

  2. Add MYSQL jdbc driver jar

    Download the MYSQL jdbc driver jar package, such as mysql-connector-java-8.0.25.jar. https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-8.0.25.zip Copy the jar package to the ext-lib directory.

  3. Enter the deployment script docker-compose directory, execute

    docker compose up -d

Start exploring HertzBeat

Browser access localhost:1157 to start, the default account password admin/hertzbeat