.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
SESSION_SECRET
secret
YOU MIGHT LIKE TO MODIFY THESE VARIABLES
MAGIC_LINK_SECRET
secret
ENCRYPTION_KEY
secret
LOGIN_ORIGIN
DATABASE_URL
secret
DIRECT_URL
This sets the URL used for direct connections to the database and should only be needed in limited circumstances See:…
REMIX_APP_PORT
APP_ENV
Dev-only: stream the webapp's logs over a local telnet/TCP socket (nc localhost 6767). Uncomment to enable. WEBAPP_TELNET_LOGS_PORT=6767
APP_ORIGIN
ELECTRIC_ORIGIN
NODE_ENV
CLICKHOUSE_URL
Clickhouse
RUN_REPLICATION_CLICKHOUSE_URL
RUN_REPLICATION_ENABLED
EVENT_REPOSITORY_DEFAULT_STORE
Store task run spans/traces in ClickHouse so the dashboard trace view is populated in local dev. The local stack is ClickHouse-backed (see…
TZ
Set this to UTC because Node.js uses the system timezone
REDIS_HOST
Redis is used for the v3 queuing and v2 concurrency control
REDIS_PORT
REDIS_TLS_DISABLED
DEV_OTEL_EXPORTER_OTLP_ENDPOINT
brew install flyctl && fly launch --from https://github.com/triggerdotdev/trigger.dev
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/triggerdotdev/trigger.dev
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/triggerdotdev/trigger.dev