This repository contains a Docker Compose configuration for self-hosting Trigger.dev, a powerful workflow automation platform. The setup includes all necessary services: web application, PostgreSQL database, Redis, ElectricSQL, ClickHouse, Docker registry, MinIO object storage, and supervisor components.
- Create New Project: Go to Coolify v4 > Projects > New > Public GitHub
- Repository URL:
https://github.com/essamamdani/coolify-trigger-v4.git - Build Settings: Select "Build" > "docker-compose"
- Click Next
- Add Ports:
- Web App:
:3000(use Coolify generated URL or custom domain) - Registry:
:5000(use Coolify generated URL or custom domain)
- Web App:
- Deploy the application
After the first deployment, you need to configure three critical settings for the setup to work properly:
-
Find Network Name: After deployment, in your Coolify project:
- Go to your project dashboard
- Look for the services section showing your containers
- You'll see a network ID like
xc324534265fdsfsfdfgfd4in the services list - Copy this network ID (it's the long alphanumeric string)
-
Add Environment Variable: In Coolify, go to your project → Environment Variables → Add:
DOCKER_RUNNER_NETWORKS=xc324534265fdsfsfdfgfd4(Replace with your actual network ID)
For issues specific to Trigger.dev, visit the Trigger.dev documentation or GitHub repository.