Files
apache--hertzbeat/home/docs/start/docker-compose-deploy.md
T
wehub-resource-sync c8cebdfeee
MCP Bash Server CI / Test MCP Bash Server (dev) (push) Has been cancelled
MCP Bash Server CI / Test MCP Bash Server (release) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:11:39 +08:00

2.0 KiB

id, title, sidebar_label
id title sidebar_label
docker-compose-deploy Install HertzBeat via Docker Compose Install via Docker Compose

:::tip Suggest to use Docker Compose to deploy HertzBeat and its dependent services. :::

:::note This document assumes that you already have Docker and Docker Compose installed in your environment. If not, please refer to the Docker official documentation. Run the docker compose version command to check if you have a Docker Compose environment. :::

  1. Download the startup script package

    Download the installation script package apache-hertzbeat-xxx-docker-compose.tar.gz from the download

  2. Choose to use the HertzBeat + PostgreSQL + VictoriaMetrics solution

    :::tip

    • apache-hertzbeat-${version}-docker-compose.tar.gz contains multiple deployment solutions after decompression. Here we recommend choosing the hertzbeat-postgresql-victoria-metrics solution.
    • Other deployment methods, please read the README.md file of each deployment solution in detail. The MySQL solution requires you to prepare the MySQL driver package yourself.

    :::

    • Unzip the script package
    tar zxvf apache-hertzbeat-${version}-docker-compose.tar.gz
    
    • Enter the decompression directory and select HertzBeat + PostgreSQL + VictoriaMetrics for one-click deployment
    cd apache-hertzbeat-${version}-docker-compose
    cd hertzbeat-postgresql-victoria-metrics
    
    • One-click start

    Run script in hertzbeat-postgresql-victoria-metrics directory

    docker-compose up -d
    
    • View service status

      View the running status of each container, up is the normal running status

      docker-compose ps
      
  3. Start exploring HertzBeat Access http://ip:1157/ in the browser to start exploring and using it. The default account password is admin/hertzbeat.

HAVE FUN


FAQ

The most common problem is network problems, please check in advance