Files
hertzbeat/script/docker-compose/hertzbeat-postgresql-greptimedb
47538dbc1a feat(observability): add Angular three-signal transition (#4195)
Signed-off-by: Duansg <siguoduan@gmail.com>
Signed-off-by: Tomsun28 <tomsun28@outlook.com>
Co-authored-by: Duansg <siguoduan@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tomsun28 <tomsun28@outlook.com>
Co-authored-by: aias00 <liuhongyu@apache.org>
2026-07-16 20:39:17 +08:00
..

docker-compose deployment HertzBeat+PostgreSQL+GreptimeDB solution

The docker-compose deployment scheme uses PostgreSQL + GreptimeDB as the dependent storage service of HertzBeat.
This solution will start three container services PostgreSQL, GreptimeDB, 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-postgresql-greptimedb link script/docker-compose

  2. Optional: add external JDBC driver jars to ext-lib

    MySQL-compatible monitoring can use the built-in query engine directly, so mysql-connector-j is optional. If you want HertzBeat to prefer JDBC after restart, place mysql-connector-j in ext-lib. Oracle and DB2 still require external JDBC jars in ext-lib.

  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