- Notifications
You must be signed in to change notification settings - Fork36
triggerdotdev/docker
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
If you want to run the Trigger.dev platform yourself, instead of usingour cloud product, you can use this repository to get started.
It's highly recommended you read ourself-hosting guide, which contains more detailed instructions and will be more up-to-date.
If you want to self-host the Trigger.dev platform, when you're developing your web app locally you'll need to run the Trigger.dev platform locally as well.
- Clone this repository and navigate to it:
git clone https://github.com/triggerdotdev/docker.gitcd docker- Run the start script and follow the prompts
./start.sh# hint: you can append -d to run in detached modePopulate any missing .env file values. (See the .env.example file for more instructions)
The ports in the
docker-compose.ymlfile are set so they are less likely to clash with your local webapp – the platform runs on 3040 and the database is on 5433. If you need to change these ports, you'll need to update theLOGIN_ORIGIN,APP_ORIGINandDATABASE_HOSTenvironment variables.
- Run the stop script
./stop.sh
You should now be able to access the Trigger.dev dashboard athttp://localhost:3040.
To create an account, login using "Magic Link" and the email with the sign-in link will be printing to the console output in the runningtriggerdotdev container.
Our main docs are atdocs.trigger.dev.
Note, you'll need to ensure that you configure the SDK to point at your self-hosted instance via theTRIGGER_API_URL environment variable. With the default settings and running everything locally you'd set it tohttp://localhost:3040.
About
Docker templates for self-hosting and running the Trigger.dev platform locally
Resources
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Contributors7
Uh oh!
There was an error while loading.Please reload this page.