{"id":20597733,"url":"https://github.com/triggerdotdev/docker","last_synced_at":"2025-07-16T22:31:58.084Z","repository":{"id":176442620,"uuid":"657526125","full_name":"triggerdotdev/docker","owner":"triggerdotdev","description":"Docker templates for self-hosting and running the Trigger.dev platform locally","archived":false,"fork":false,"pushed_at":"2025-01-02T09:20:38.000Z","size":24,"stargazers_count":78,"open_issues_count":1,"forks_count":33,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-11T10:42:45.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/triggerdotdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-23T08:56:33.000Z","updated_at":"2025-07-08T13:26:55.000Z","dependencies_parsed_at":"2025-01-16T01:08:44.839Z","dependency_job_id":"b0eaec9b-110b-48d4-86a3-798a25decf83","html_url":"https://github.com/triggerdotdev/docker","commit_stats":{"total_commits":32,"total_committers":6,"mean_commits":5.333333333333333,"dds":0.25,"last_synced_commit":"b2c2949ac923b91f86fe2014059e531fae1d9c33"},"previous_names":["triggerdotdev/docker"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/triggerdotdev/docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/triggerdotdev%2Fdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/triggerdotdev%2Fdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/triggerdotdev%2Fdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/triggerdotdev%2Fdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/triggerdotdev","download_url":"https://codeload.github.com/triggerdotdev/docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/triggerdotdev%2Fdocker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265545884,"owners_count":23785871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T08:23:42.585Z","updated_at":"2025-07-16T22:31:58.050Z","avatar_url":"https://github.com/triggerdotdev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trigger.dev Self-Hosting Docker\n\nIf you want to run the Trigger.dev platform yourself, instead of using [our cloud product](https://trigger.dev), you can use this repository to get started.\n\nIt's highly recommended you read our [self-hosting guide](https://trigger.dev/docs/open-source-self-hosting), which contains more detailed instructions and will be more up-to-date.\n\n## Local development\n\nIf 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.\n\n### Initial setup\n\n1. Clone this repository and navigate to it:\n\n```sh\ngit clone https://github.com/triggerdotdev/docker.git\ncd docker\n```\n\n2. Run the start script and follow the prompts\n\n```bash\n./start.sh # hint: you can append -d to run in detached mode\n```\n\n3. Populate any missing .env file values. (See the .env.example file for more instructions)\n\n4. 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.\n\n### Stopping the Docker containers\n\n1. Run the stop script\n\n```bash\n./stop.sh\n```\n\n### Getting started with using Trigger.dev\n\nYou should now be able to access the Trigger.dev dashboard at [http://localhost:3040](http://localhost:3040/).\n\nTo 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.\n\nOur main docs are at [docs.trigger.dev](https://docs.trigger.dev/).\n\nNote, 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`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftriggerdotdev%2Fdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftriggerdotdev%2Fdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftriggerdotdev%2Fdocker/lists"}