File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -106,20 +106,14 @@ docker compose logs -f webapp
106106npx trigger.dev@latest init -p < project-ref> -a http://localhost:8030
107107```
108108
109- { / \* 7. Bonus : Add traefik as a reverse proxy
110-
111- ` ` ` ` bash
112- docker compose - f docker - compose .yml - f ../ docker - compose .traefik .yml up - d
113- ` ` ` */}
114-
115109### Worker
116110
1171111 . Clone the repository
118112
119113``` bash
120114git clone --depth=1 https://github.com/triggerdotdev/trigger.dev
121115cd trigger.dev/hosting/docker
122- ` ` ` `
116+ ```
123117
1241182 . Create a ` .env ` file
125119
@@ -153,13 +147,6 @@ If you want to run the webapp and worker on the same machine, just replace the `
153147docker compose -f webapp/docker-compose.yml -f worker/docker-compose.yml up -d
154148```
155149
156- {/\* And optionally add traefik as a reverse proxy :
157-
158- ` ` ` ` bash
159- # Run this from the / hosting / docker directory
160- docker compose - f webapp / docker - compose .yml - f worker / docker - compose .yml - f docker - compose .traefik .yml up - d
161- ` ` ` */}
162-
163150## Worker token
164151
165152When running the combined stack, worker bootstrap is handled automatically. When running the webapp and worker separately, you will need to manually set the worker token.
@@ -185,7 +172,7 @@ Or, if using a file:
185172TRIGGER_WORKER_TOKEN=file:///home/node/shared/worker_token
186173
187174==========================
188- ` ` ` `
175+ ` ` `
189176
190177You can then uncomment and set the ` TRIGGER_WORKER_TOKEN` environment variable in your ` .env` file.
191178
You can’t perform that action at this time.
0 commit comments