What is ToolJet?
ToolJet is the modern entry in the internal-tools race: a visual app builder with 50+ datasource connectors, JavaScript and Python in queries, workflow automation, and a built-in spreadsheet-style database (PostgREST-backed) for when you have no datasource at all yet.
This is the cleanest deployment in the Internal Tools category: the ToolJet server respects PORT, so it listens on :5000 directly - no proxy - and all state lives in Postgres, which Lyngbak provisions as a managed service and auto-wires. The app container itself is stateless.
Three generated secrets and you are building. ToolJet Cloud caps the free and Pro tiers by apps and end users; CE self-hosted has neither cap, which is exactly the property you want in a tool whose whole job is to multiply across your org.
What you get
- Visual builder with 45+ UI components and responsive layouts
- 50+ connectors: Postgres, MySQL, Mongo, REST, GraphQL, S3, Stripe, …
- JS and Python inside queries and transformations
- ToolJet Database: built-in PostgREST-backed tables, no setup
- Stateless app container on a managed Postgres - clean ops story
- No app caps or seat pricing in CE
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
tooljet | server + builder UI (:5000); bundles PostgREST | yes |
db | Postgres - managed service on Lyngbak, container locally | no |
Before you deploy
SECRET_KEY_BASEsession cookies (openssl rand -hex 64)
LOCKBOX_MASTER_KEYdatasource credential encryption (openssl rand -hex 32) - losing it orphans saved datasources
PGRST_JWT_SECRETToolJet Database JWT (openssl rand -hex 32)
TOOLJET_HOSTset to the app’s https domain after first deploy
Sizing and billing
2 GiB for the server (official minimum is 2 GB / 1 vCPU) plus the managed Postgres. Note: the ToolJet image is x86_64-only.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 6 GiB of volumes cost $0.15 per GiB a month ($0.90/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Retool | Team | $150/mo | for 5 builders + 20 end users, billed annually |
| ToolJet Cloud | Pro | $79/mo | flat: unlimited builders, 100 end users, capped at 5 apps; Team tier $199/mo lifts the caps |
Self-hosted ToolJet CE has no app or user caps; the meter that matters is just the RAM it runs on. Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How does self-hosted ToolJet compare to ToolJet Cloud and Retool?
ToolJet Cloud Pro is a fixed monthly subscription but caps you at 5 apps and 100 end users; Retool Team prices per seat and grows with the team. This stack has no app or user caps - CE gates enterprise features (SSO, audit logs), not scale.
What is the ToolJet Database and do I need to set anything up?
A built-in, spreadsheet-style data store backed by PostgREST (bundled in the image). It uses its own database (tooljet_db) on the same Postgres server, created automatically on first boot - you just provide PGRST_JWT_SECRET.
Where does ToolJet store its state?
Entirely in Postgres - apps, queries, users, encrypted datasource credentials. The container is stateless and needs no volume, so redeploys are clean and the managed database carries the persistence story.
What happens if I lose LOCKBOX_MASTER_KEY?
Saved datasource credentials become undecryptable and must be re-entered. Apps and queries survive. Store the key in a password manager the day you generate it, same discipline as n8n’s encryption key.