Commit Graph

4 Commits

Author SHA1 Message Date
Mauricio Siu
e60d713179 fix: run init container as root so the install marker can be written
The tb-node image runs as the non-root "thingsboard" user (uid 799), but
the freshly created /data named volume is owned by root, so
"touch /data/.thingsboard-installed" failed with permission denied after
every successful install. Combined with "set -e" and "restart: on-failure",
the init container kept re-running the installer forever and the main
thingsboard service (gated on service_completed_successfully) never
started, leaving the domain returning 404.

Running the init service as root lets the marker be written so the init
completes and stays idempotent across redeploys. Also widened the main
service healthcheck start window (start_period 300s, retries 10) so the
slow first boot on modest VPS hardware is not marked unhealthy while
docker compose up --wait is in progress.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 01:55:38 -06:00
Mauricio Siu
47a04f55a5 Merge remote-tracking branch 'origin/canary' into codex/add-thingsboard-template
# Conflicts:
#	meta.json
2026-07-08 00:05:07 -06:00
BinkyTwin
30cad7b347 fix: align ThingsBoard init queue type 2026-05-20 22:20:50 +02:00
BinkyTwin
a7f3a74982 feat: add ThingsBoard template 2026-05-20 22:00:58 +02:00