GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DavidLindblad/trigger.dev: Docker templates for self-hosting and running the Trigger.dev platform locally

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

35 Commits
35 Commits

Folders and files

NameName
Last commit message
Last commit date
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
docker-compose.webapp.yml
docker-compose.webapp.yml
 
 
docker-compose.worker.yml
docker-compose.worker.yml
 
 
docker-compose.yml
docker-compose.yml
 
 
lib.sh
lib.sh
 
 
start.sh
start.sh
 
 
stop.sh
stop.sh
 
 
tunnel.sh
tunnel.sh
 
 
update.sh
update.sh
 
 

Repository files navigation

Trigger.dev Self-Hosting Docker

If you want to run the Trigger.dev platform yourself, instead of using our cloud product, you can use this repository to get started.

It's highly recommended you read our self-hosting guide, which contains more detailed instructions and will be more up-to-date.

Local development

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.

Initial setup

  1. Clone this repository and navigate to it:
git clone https://github.com/triggerdotdev/docker.git
cd docker
  1. Run the start script and follow the prompts
./start.sh # hint: you can append -d to run in detached mode
  1. Populate any missing .env file values. (See the .env.example file for more instructions)

  2. The ports in the docker-compose.yml file 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 the LOGIN_ORIGIN, APP_ORIGIN and DATABASE_HOST environment variables.

Stopping the Docker containers

  1. Run the stop script
./stop.sh

Getting started with using Trigger.dev

You should now be able to access the Trigger.dev dashboard at http://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 running triggerdotdev container.

Our main docs are at docs.trigger.dev.

Note, you'll need to ensure that you configure the SDK to point at your self-hosted instance via the TRIGGER_API_URL environment variable. With the default settings and running everything locally you'd set it to http://localhost:3040.

About

Docker templates for self-hosting and running the Trigger.dev platform locally

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.