Self hosting
Local platform
Running the Trigger.dev platform locally requires tunneling to the internet.
These are the docs for Trigger.dev v2 which will be deprecated on January 31st, 2025. You probably want the v3 docs.
Note this is only relevant to you if you are running the platform locally.
How do I do it?
There are a few ways to do this, but we recommend using ngrok. It’s free and easy to use.
Start ngrok
- Install ngrok:
-
Open a new terminal window/tab, you need to leave this running
-
Create an http tunnel at port 3030:
- Grab your forwarding address in the ngrok output:
2. Use the forwarding URL
Use the forwarding URL that ngrok gave you for the LOGIN_ORIGIN
and API_ORIGIN
environment variables for the docker container.