Files
hertzbeat/script/docker-compose/hertzbeat-postgresql-iotdb/README.md
T
vinciandtomsun28 1d29ac3d7d support postgresql store meta data instead of h2 database (#828)
support postgresql store meta data instead of h2 database
add docker-compose file for postgresql
add related docs

  Update home docs start postgresql-change.md

Co-authored-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: vinci <55838224+vinci-897@users.noreply.github.com>

  Update home docs start postgresql-change.md

Co-authored-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: vinci <55838224+vinci-897@users.noreply.github.com>

  Update home docs start postgresql-change.md

Co-authored-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: vinci <55838224+vinci-897@users.noreply.github.com>

  Update home docs start postgresql-change.md

Co-authored-by: tomsun28 <tomsun28@outlook.com>
Signed-off-by: vinci <55838224+vinci-897@users.noreply.github.com>

---------

Signed-off-by: vinci <55838224+vinci-897@users.noreply.github.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
2023-04-01 23:10:41 +08:00

29 lines
1.2 KiB
Markdown

## docker-compose deployment HertzBeat+PostgreSQL+IoTDB solution
> The docker-compose deployment scheme uses PostgreSQL + IoTDB as the dependent storage service of Hertzbeat.
> This solution will start three container services PostgreSQL, IoTDB, HertzBeat
##### Install Docker & Docker-compose
1. Download and install docker environment & docker-compose environment
Please refer to [Docker official website documentation](https://docs.docker.com/get-docker/), [Compose installation](https://docs.docker.com/compose/install/)
```
$ 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-iotdb` link [script/docker-compose](https://gitee.com/dromara/hertzbeat/tree/master/script/docker-compose/hertzbeat-postgresql-iotdb)
2. 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`