selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

trigger logo

Self-host trigger

helm-v4.8.4

Durable background jobs and AI workflows in TypeScript

ReleaseOpen SourceApache-2.0
Updated10 minutes ago
LanguageTypescript
Setup difficultyAdvanced
ThemeDark mode
Stars
16 739
CPU
6+ vCPU total
RAM
12+ GB RAM total
Ports
3000 (Webapp (dashboard/API) container port; the compose stack publishes it as 8030 on the host), 8020 (Supervisor workload API / health endpoint on the worker)
Requires
ClickHouse, Container registry, Object storage (S3-compatible, bundled MinIO), PostgreSQL, Redis
Docker
ghcr.io/triggerdotdev/trigger.dev
Install with Docker Compose
Dashboard trace view showing every step of a task run

What is trigger?

trigger alternatives

All self-hosted alternatives to AWS Lambda → All self-hosted alternatives to Vercel →

Should you self-host trigger?

trigger scores 76/100 on selfhost.directory (how scoring works) and ranks #7 of 32 in Workflow Automation. It has 16 739 GitHub stars, +251 in the last 30 days.

It shipped 55 stable releases in the past year. The latest, v4.8.4, came out on 10 November 2026. New versions land roughly every 1 days.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is coolify (88/100, 65 888 stars). It scores higher overall, so compare the two before you pick. See trigger vs coolify side by side.

Features

  • Alerts on run failuresAlert limit is hardcoded at 100M when self-hosted.
  • Atomic versioning
  • Automatic Retries
  • Batch Triggering
  • Checkpointing / non-blocking waitsAvailable on Trigger.dev Cloud only; not supported when self-hosting.
  • Cron Scheduling
  • Human-in-the-loop waits
  • Logging & tracing
  • Long-running tasks without timeouts
  • Machine presets (CPU/RAM per task)
  • Multiple Environments
  • Preview branches
  • Queues & concurrency control
  • Realtime run updates & streamingSelf-hosted v2 streams use the bundled s2-lite service; v1 falls back to Redis.
  • Structured inputs / outputs

trigger README

Trigger.dev logo

Build and deploy fully‑managed AI agents and workflows

Website | Docs | Issues | Example projects | Feature requests | Public roadmap | Self-hosting

Open Source License npm SDK downloads

Twitter Follow Discord Ask DeepWiki GitHub stars

About Trigger.dev

Trigger.dev is the open-source platform for building AI workflows in TypeScript. Long-running tasks with retries, queues, observability, and elastic scaling.

The platform designed for building AI agents

Build AI agents using all the frameworks, services and LLMs you're used to, deploy them to Trigger.dev and get durable, long-running tasks with retries, queues, observability, and elastic scaling out of the box.

How to install trigger

Install trigger with Docker Compose

Environment variables
TRIGGER_IMAGE_TAG, APP_ORIGIN, LOGIN_ORIGIN, API_ORIGIN, SESSION_SECRET, MAGIC_LINK_SECRET, ENCRYPTION_KEY, PROVIDER_SECRET, COORDINATOR_SECRET, MANAGED_WORKER_SECRET, TRIGGER_WORKER_TOKEN, EMAIL_TRANSPORT, AUTH_GITHUB_CLIENT_ID, AUTH_GITHUB_CLIENT_SECRET, WHITELISTED_EMAILS, ADMIN_EMAILS

git clone --depth=1 https://github.com/triggerdotdev/trigger.dev cd trigger.dev/hosting/docker

cp .env.example .env

Fills the required secrets in .env with strong, unique values.

Safe to re-run - it never overwrites a secret you've already set.

./generate-secrets.sh

cd webapp docker compose up -d

Webapp + worker on the same machine (run from /hosting/docker):

docker compose -f webapp/docker-compose.yml -f worker/docker-compose.yml up -d

Webapp machine needs 3+ vCPU / 6+ GB RAM and a worker machine 4+ vCPU / 8+ GB RAM; app reachable at http://localhost:8030. Requires Docker 20.10.0+ and Docker Compose 2.20.0+.

How to configure trigger

  • TRIGGER_IMAGE_TAGlatestTrigger image tag - This is the version of the webapp and worker images to use, they should be locked to a specific version in production - For example: TRIGGER_IMAGE_TAG=v4.5.0
  • LOGGING_DRIVERDocker logging - See the official docs: https://docs.docker.com/engine/logging/configure/
  • LOGGING_MAX_SIZE
  • LOGGING_MAX_FILES
  • LOGGING_COMPRESS

trigger releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Workflow Automation

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…