Skip to content

Commit 73513b9

Browse files
committed
Removed commented sections of the docs
1 parent 0707e65 commit 73513b9

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

docs/self-hosting/docker.mdx

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -106,20 +106,14 @@ docker compose logs -f webapp
106106
npx 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

117111
1. Clone the repository
118112

119113
```bash
120114
git clone --depth=1 https://github.com/triggerdotdev/trigger.dev
121115
cd trigger.dev/hosting/docker
122-
````
116+
```
123117

124118
2. 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 `
153147
docker 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

165152
When 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:
185172
TRIGGER_WORKER_TOKEN=file:///home/node/shared/worker_token
186173

187174
==========================
188-
````
175+
```
189176
190177
You can then uncomment and set the `TRIGGER_WORKER_TOKEN` environment variable in your `.env` file.
191178

0 commit comments

Comments
 (0)