Skip to content

feat: add ThingsBoard template#886

Open
BinkyTwin wants to merge 2 commits into
Dokploy:canaryfrom
BinkyTwin:codex/add-thingsboard-template
Open

feat: add ThingsBoard template#886
BinkyTwin wants to merge 2 commits into
Dokploy:canaryfrom
BinkyTwin:codex/add-thingsboard-template

Conversation

@BinkyTwin
Copy link
Copy Markdown

Summary

  • add a ThingsBoard Community Edition template backed by PostgreSQL
  • include a one-shot idempotent init service for first-run schema/system asset setup
  • add template metadata, domain config, README mount, and SVG logo

/claim #152
Closes #545

Validation

  • node dedupe-and-sort-meta.js
  • node --import ./build-scripts/node_modules/tsx/dist/loader.mjs build-scripts/validate-template.ts --dir blueprints/thingsboard
  • node --import ./build-scripts/node_modules/tsx/dist/loader.mjs build-scripts/validate-docker-compose.ts --file blueprints/thingsboard/docker-compose.yml
  • POSTGRES_DB=thingsboard POSTGRES_USER=postgres POSTGRES_PASSWORD=dummy LOAD_DEMO=false JAVA_OPTS="-Xms512m -Xmx2048m" SECURITY_CORS_ALLOWED_ORIGINS="http://example.com,https://example.com" docker compose -f blueprints/thingsboard/docker-compose.yml config
  • git diff --check

Notes

  • Uses the current ThingsBoard CE 4.3.1.1 Docker image from the official install docs.
  • The template exposes the web UI and HTTP API through Dokploy; direct MQTT/CoAP transport exposure is left to deployment-specific port configuration.

Copilot AI review requested due to automatic review settings May 20, 2026 20:01
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label May 20, 2026
@dosubot dosubot Bot added the new-template label May 20, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
templates ✅ Ready (View Log) Visit Preview 30cad7b

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Dokploy blueprint for deploying ThingsBoard Community Edition backed by PostgreSQL, including an init job for first-run setup plus metadata and assets so it can appear in the template catalog.

Changes:

  • Added blueprints/thingsboard/ with a ThingsBoard + Postgres Compose stack and a one-shot init service.
  • Added Dokploy configuration (template.toml) including domain mapping, env vars, and an embedded README mount.
  • Registered the template in meta.json and added an SVG logo.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
meta.json Registers the new thingsboard template in the central catalog index.
blueprints/thingsboard/docker-compose.yml Defines ThingsBoard CE + PostgreSQL services, including an init container gating startup.
blueprints/thingsboard/template.toml Provides Dokploy variables, domain routing, env wiring, and README mount content.
blueprints/thingsboard/thingsboard.svg Adds the ThingsBoard logo asset referenced by meta.json.

Comment thread blueprints/thingsboard/docker-compose.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🙋 Bounty claim new-template size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REQ: Please add the Template for ThingsBoard Iot platform

2 participants