Self-host Trigger.dev with Supabase and Docker
.env
templateopenssl rand -hex 16
for the following variables:NODE_ENV
to production:Project Settings -> Database
and copy your database connection string.env
file, and append ?schema=triggerdotdev
<PASSWORD>
with the project password you set in Step 3.triggerdotdev
and graphile_worker
schemas should now be populated. Check your Supabase DB dashboard to be sure:Connection Pool - © 2023 Supabase, Apache License 2.0
DIRECT_URL
Project Settings -> Database
and copy your connection pool URL.env
file next to DATABASE_URL
?schema=triggerdotdev&pgbouncer=true
and insert your password