# ThingsBoard Postgres

ThingsBoard Postgres is a Dockerized deployment of the open-source ThingsBoard IoT platform with PostgreSQL for self-hosting IoT data collection, processing, visualization, and device management. It is open source and self-hosted, installable on Proxmox, Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/718/thingsboard-postgres

## Description

ThingsBoard Postgres is a Dockerized deployment of the open-source ThingsBoard IoT platform with PostgreSQL for self-hosting IoT data collection, processing, visualization, and device management.

## Platform availability

Available on 2 of 9 platforms: Unraid, Proxmox.

## Health score

81/100 (Excellent), based on 4 of 4 factors.
- Maintained: 100 (last commit 5 days ago)
- Popular: 87 (22,563 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 80 (1 GB minimum RAM, runs on ARM)

## Links

- Proxmox: https://community-scripts.github.io/ProxmoxVE/scripts?id=thingsboard
- Docker Hub: https://hub.docker.com/r/thingsboard/tb-postgres/
- GitHub: https://github.com/thingsboard/thingsboard
- Unraid: https://ca.unraid.net/apps/thingsboard-postgres-0yz1hym0q7n23e?q=thingsboard-postgres
- Official website: https://thingsboard.io
- Documentation: https://thingsboard.io/docs/pe/

## Common questions

### Does the thingsboard/tb-postgres container include a psql client?

Only what was installed by the image maintainer is available inside the container, so a psql client is not guaranteed.

### Can ThingsBoard be pointed at an external RDS PostgreSQL instead of the local tb-postgres container?

Yes, the tb-postgres image is normally local, but connection parameters in your .yml or .env files can point to RDS. Verify the host can reach RDS.

### How can I make the PostgreSQL database start automatically after reboot during a ThingsBoard edge install?

Enable the postgresql-16 service on CentOS. If it is not enabled, ThingsBoard may work at first but fail after the machine restarts.

### Does the ThingsBoard troubleshooting documentation cover OAuth2 configuration?

Yes, OAuth2 configuration is listed among common issues to diagnose and resolve.

## Alternatives

- Cloud Studio IoT: White-label, multi-tenant IoT/IIoT Application Enablement Platform (AEP) for integrators, device makers and service operators.
- Iotellect: A powerful low-code IoT Application Enablement Platform (AEP) that seamlessly integrates Edge and Cloud capabilities for scalable, real-tim…
- thingsboard: ThingsBoard is an open-source internet of things platform for collecting, processing and visualising data, and managing devices.

---
Source: Our Local Host (https://ourlocalhost.com/app/718/thingsboard-postgres), the self-hosted and open-source app directory.
