[{"data":1,"prerenderedAt":110},["ShallowReactive",2],{"seo-verification":3,"marketplace-app-en-trigger-dev":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"marketplace-app-en-trigger-dev",{"slug":9,"slugs":10,"categorySlugs":11,"name":16,"description":17,"phase":18,"unavailableReason":19,"docsUrl":20,"logo":19,"github":19,"tagline":21,"longDescription":22,"features":23,"useCases":30,"steps":40,"faq":56,"specs":72,"compatibleOs":86,"relatedApps":87,"relatedPosts":105,"category":107},"trigger-dev",{"fr":9,"en":9,"ar":9,"es":9},{"fr":12,"en":13,"ar":14,"es":15},"automatisation","automation-workflows","الأتمتة-وسير-العمل","automatizacion","Trigger.dev","Open-source background job orchestrator for TypeScript: durable tasks, automatic retries, multi-step workflows and a real-time dashboard — self-hosted on your VPS with no execution limits or per-task billing.",1,null,"https:\u002F\u002Fservorbit.com\u002Fblog\u002Finstalling-triggerdev-on-a-vps-self-hosted-automation","Trigger.dev — self-hosted TypeScript background job platform.","Trigger.dev is an open-source background job platform built for TypeScript developers who need reliable, observable task execution without the complexity of managing queues, workers and retry logic themselves.\n\nUnlike BullMQ or simple cron jobs, Trigger.dev tasks are *durable*: they checkpoint their state between steps so a mid-run crash never loses progress. Long-running jobs (ETL pipelines, bulk email sends, AI inference chains) can run for minutes or hours without hitting a timeout.\n\nThe self-hosted stack runs on Docker Compose: a webapp container (UI + API + job scheduler), PostgreSQL (state and queue storage with logical replication for ElectricSQL sync), Redis (pub\u002Fsub and lock management), an ElectricSQL electric service, and two task executor services (docker-provider and coordinator) that spawn isolated worker containers on demand.\n\nFirst access uses a magic-link flow: enter your email on the login page and retrieve the link from the webapp container logs — no SMTP setup required on day one.",[24,25,26,27,28,29],"Durable tasks — jobs resume automatically from their last checkpoint after a crash or restart, even if they were running for hours.","Automatic retries with exponential back-off — configure max attempts and delay strategy per task; failed runs appear in the live dashboard with full logs.","Concurrency control — set per-queue or per-task concurrency limits to protect downstream APIs and databases from overload.","Real-time run dashboard — watch task execution live, inspect payloads, logs and durations without touching the server.","Scheduled tasks — define cron-based recurring jobs directly in code; no external cron daemon required.","SDK-first developer experience — define tasks with `task()` in your existing TypeScript codebase; no new language or DSL to learn.",[31,34,37],{"title":32,"body":33},"Background job processing","Offload slow or unreliable operations — image resizing, PDF generation, external API calls — from your web request cycle. Tasks retry automatically on failure and results are inspectable in the dashboard.",{"title":35,"body":36},"Long-running AI pipelines","Chain LLM calls, vector database queries and post-processing steps in a single durable task. If one step fails or times out, Trigger.dev resumes from the last checkpoint without restarting from scratch.",{"title":38,"body":39},"Scheduled data workflows","Replace fragile server cron jobs with typed, observable scheduled tasks. Define the schedule in code, monitor runs in the dashboard and receive alerts on consecutive failures.",[41,44,47,50,53],{"title":42,"body":43},"Open the login page","Navigate to `https:\u002F\u002F\u003Cdomain>` and enter your email address. Trigger.dev will generate a magic link for first-time login.",{"title":45,"body":46},"Retrieve the magic link from container logs","Run `docker compose logs webapp | grep 'magic-link'` and copy the link. Paste it in your browser to complete authentication and land on the dashboard.",{"title":48,"body":49},"Create your first project","In the dashboard, click **Create project**, choose a name and pick an environment (development or production). Note the `TRIGGER_SECRET_KEY` shown — you will need it to connect your app.",{"title":51,"body":52},"Install the SDK and define a task","In your TypeScript project, run `npm install @trigger.dev\u002Fsdk` then point the SDK at your VPS:\n```env\nTRIGGER_API_URL=https:\u002F\u002F\u003Cdomain>\nTRIGGER_SECRET_KEY=\u003Ckey>\n```\nDefine a task with `task()` and trigger it with `myTask.trigger(payload)` — the run appears in the dashboard immediately.",{"title":54,"body":55},"Start the dev CLI (optional)","For local development, run `npx trigger.dev@latest dev` in your project. The CLI tunnels to your self-hosted instance so you can test task changes without redeploying.",[57,60,63,66,69],{"q":58,"a":59},"How do I log in for the first time?","Trigger.dev uses magic-link authentication. Open `https:\u002F\u002F\u003Cdomain>`, enter your email and run `docker compose logs webapp | grep 'magic-link'` to retrieve the link from the container logs. No SMTP configuration is required on day one.",{"q":61,"a":62},"Why does Trigger.dev require a domain name?","The magic-link flow generates callback URLs using the `LOGIN_ORIGIN` and `APP_ORIGIN` environment variables. Without a valid domain these links are malformed and authentication fails. On ServOrbit you can use the free `{app}.{slug}.servorbit-dns.com` subdomain or attach your own.",{"q":64,"a":65},"Does Trigger.dev need outbound email to work?","No. On day one, magic links are printed directly to the webapp container logs — no Resend API key or SMTP relay is required. To enable email delivery later, set `RESEND_API_KEY` and `FROM_EMAIL` in your compose environment.",{"q":67,"a":68},"Why does PostgreSQL need `wal_level=logical`?","Trigger.dev uses ElectricSQL for real-time sync between the database and the webapp. ElectricSQL requires PostgreSQL logical replication slots, which are only available when `wal_level` is set to `logical`. The compose template includes this setting.",{"q":70,"a":71},"How do I update Trigger.dev?","Pull the latest images and restart: `docker compose pull && docker compose up -d`. Trigger.dev runs database migrations automatically on webapp startup. Check the release notes at github.com\u002Ftriggerdotdev\u002Ftrigger.dev\u002Freleases before upgrading.",{"version":73,"license":74,"ram":75,"cpu":76,"disk":77,"port":78,"os":79,"stack":80},"v3 (latest)","Apache-2.0","2 GB minimum (4 GB recommended)","2 vCPU","20 GB minimum","3030","Ubuntu 22.04 \u002F 24.04",[81,82,83,84,85],"Docker","Node.js","PostgreSQL 16","Redis 7","ElectricSQL",[],[88,95,100],{"name":89,"slug":89,"categorySlug":13,"categoryName":90,"categoryColor":91,"logo":92,"tagline":93,"description":94},"n8n","Automation & Workflows","text-brand-action bg-brand-action\u002F10","https:\u002F\u002Fcdn.simpleicons.org\u002Fn8n","Automate your business processes with 400+ integrations — 100% self-hosted on your VPS.","Automate your workflows across applications without code. Over 400 integrations, 100% self-hosted on your VPS.",{"name":96,"slug":97,"categorySlug":13,"categoryName":90,"categoryColor":91,"logo":19,"tagline":98,"description":99},"Windmill","windmill","Run your scripts as workflows, APIs and UIs — 100% self-hosted on your VPS.","Code-first self-hosted automation platform: turn Python, TypeScript, Go or Bash scripts into workflows, internal APIs and UIs — 17k ⭐, AGPLv3.",{"name":101,"slug":102,"categorySlug":13,"categoryName":90,"categoryColor":91,"logo":19,"tagline":103,"description":104},"Kestra","kestra","Declarative YAML orchestration for data pipelines and ETL — self-hosted on your VPS, Apache-2.0, 15 k+ stars.","Declarative YAML workflow orchestration platform — self-hosted data pipelines, ETL and event-driven automation. Orchestrate your internal processing tasks, triggered by schedule, webhook or API.",[106],"installer-trigger-dev-vps",{"key":12,"slug":13,"name":90,"objective":108,"icon":109,"color":91},"Automate business processes.","automation",1789046217653]