mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 04:48:50 -05:00
[PR #1015] [MERGED] docs: per-template setup instructions for Supabase and Trigger.dev #17342
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/1015
Author: @Siumauricio
Created: 7/14/2026
Status: ✅ Merged
Merged: 7/14/2026
Merged by: @Siumauricio
Base:
canary← Head:docs/template-instructions📝 Commits (1)
03a60bbdocs: add per-template setup instructions (supabase, trigger.dev)📊 Changes
6 files changed (+349 additions, -11 deletions)
View changed files
📝
app/src/components/TemplateDialog.tsx(+36 -1)📝
app/src/components/TemplateGrid.tsx(+21 -6)➕
app/src/components/ui/markdown.tsx(+177 -0)➖
blueprints/ackee/instructions.md(+0 -4)➕
blueprints/supabase/instructions.md(+61 -0)➕
blueprints/triggerdotdev/instructions.md(+54 -0)📄 Description
What this PR does
This PR adds a per-template setup instructions mechanism and uses it to document the Supabase and Trigger.dev templates.
Instructions mechanism (#107)
The repo had no way to ship setup docs with a template (there was a single placeholder
blueprints/ackee/instructions.mdthat nothing rendered). This PR implements the mechanism end to end:blueprints/<id>/instructions.md.docker-compose.yml/template.tomland shows it as a new Instructions tab in the template dialog (it becomes the default tab when present). Rendering uses a small dependency-free markdown component (app/src/components/ui/markdown.tsx), so no new packages or lockfile changes.index.htmlwith a 200 for non-existent paths, so the fetch guards on thetext/htmlcontent type (verified againstvite preview: real files serve astext/markdown, missing ones astext/html).Supabase instructions (#80, #816)
blueprints/supabase/instructions.mdcovers deploying, logging in to Studio (main domain routes to Kong, basic auth withDASHBOARD_USERNAME/DASHBOARD_PASSWORD), where to findANON_KEY/SERVICE_ROLE_KEY, and recommended env review (SITE_URL,SMTP_*).It also documents the
invalid_passwordpitfall from #816: the Postgres data directory and the internal Supabase roles are initialized with the firstPOSTGRES_PASSWORD(the roles init script only runs on first boot), so changing the env var later does not change the database. The doc gives both fixes:ALTER USER ...for all affected roles inside thedbcontainer (keeps data), or deletingfiles/volumes/db/dataand redeploying (destroys data).Trigger.dev instructions (#106)
blueprints/triggerdotdev/instructions.mdexplains first login: no email transport is configured by default, so the magic link is printed to the logs of thewebappcontainer (Dokploy: service -> Logs ->webapp, search formagic). It also documents optional email delivery (EMAIL_TRANSPORT=smtp/resendwith the related vars),TRIGGER_PROTOCOL=httpsfor HTTPS domains, and restricting signup withWHITELISTED_EMAILS.Verification
pnpm buildinapp/passes (tsc + vite build, 476 templates validated).vite preview.Closes #80
Closes #816
Closes #106
Closes #107
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.