Skip to content

Commit 39bc640

Browse files
committed
move worker url section
1 parent a8ffda5 commit 39bc640

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

hosting/docker/.env.example

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ MANAGED_WORKER_SECRET=447c29678f9eaf289e9c4b70d3dd8a7f
1818
# - See the docs for more information: https://trigger.dev/docs/self-hosting/docker
1919
# TRIGGER_WORKER_TOKEN=
2020

21+
# Worker URLs
22+
# - In split setups, uncomment and set to the public URL of your webapp
23+
# TRIGGER_API_URL=https://trigger.example.com
24+
# OTEL_EXPORTER_OTLP_ENDPOINT=https://trigger.example.com/otel
25+
2126
# Postgres
2227
# - Do NOT use these defaults in production
2328
# - Especially if you decide to expose the database to the internet
@@ -53,14 +58,6 @@ DEV_OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:8030/otel
5358
# - 8GB machine: NODE_MAX_OLD_SPACE_SIZE=6400
5459
# NODE_MAX_OLD_SPACE_SIZE=8192
5560

56-
# Worker
57-
# - These are the settings for the worker and will depend on your setup
58-
# - Any defaults are designed to work out of the box with the combined setup
59-
# Point this at the webapp in prod
60-
# TRIGGER_API_URL=http://webapp:3000
61-
# Point this at your OTel collector or the webapp in prod
62-
# OTEL_EXPORTER_OTLP_ENDPOINT=http://webapp:3000/otel
63-
6461
# Docker Registry
6562
# - When testing locally, the default values should be fine
6663
# - When deploying to production, you will have to change these, especially the password and URL

0 commit comments

Comments
 (0)