{"repo":"triggerdotdev/fly.io","free":true,"listed":false,"github":"https://github.com/triggerdotdev/fly.io","clone":"git clone https://github.com/triggerdotdev/fly.io.git","description":"Self-host Trigger.dev on Fly.io using this repository as a starting point","language":null,"stars":39,"topics":[],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Deploy to Fly You can use this repository as a jumping off point for deploying a self-hosted version of Trigger.dev on Fly.io using the Trigger.dev public docker image located at ghcr.io/triggerdotdev/trigger.dev:latest Fork this repository and change the app name You should fork this repository before starting so you can make changes and commit them. For example, you'll need to change the app property in the fly.toml file to be something other than app = \"trigger-v2-fly-demo\" . Install and configure the fly.io CLI Install the Fly CLI tool: Authenticate the CLI: Create the fly.io app and pg db Launch the app: Follow the prompts by fly launch and make sure to answer them in the following way: Gather your secret environment variables AUTH GITHUB CLIENT ID and AUTH GITHUB CLIENT SECRET (optional) If you plan on logging in with GitHub auth, you'll need to create a GitHub OAuth app with the following configuration: Once you register the application you'll need to click on the \"Generate new client secret\" button: And then you can copy out the AUTH GITHUB CLIENT ID and AUTH GITHUB CLIENT SECRET: RESEND API KEY and FROM EMAIL, REPLY TO EMAIL (required) We use Resend.com for email sending (including the magic-link signup/login system). They have a generous free tier of 100 emails a day that should be sufficient. Signup for Resend.com and enter the required environment vars below MAGIC LINK SECRET, SESSION SECRET and ENCRYPTION KEY (required) All of these secrets should be generated 16","default_branch":null,"files":null,"tree":[],"storefront":"/r/triggerdotdev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/triggerdotdev/fly.io/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}