Skip to content

Commit ec2175f

Browse files
authored
Some docs tweaks (#2190)
* add v4 tag to playwright extension * add self-hosting architecture section * add v4-beta tag warning
1 parent fb9abe5 commit ec2175f

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

docs/config/extensions/playwright.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@
22
title: "Playwright"
33
sidebarTitle: "playwright"
44
description: "Use the playwright build extension to use Playwright with Trigger.dev"
5+
tag: "v4"
56
---
67

8+
import UpgradeToV4Note from "/snippets/upgrade-to-v4-note.mdx";
9+
10+
<UpgradeToV4Note />
11+
712
If you are using [Playwright](https://playwright.dev/), you should use the Playwright build extension.
813

914
- Automatically installs Playwright and required browser dependencies

docs/self-hosting/architecture.png

46.2 KB
Loading

docs/self-hosting/docker.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ docker compose logs -f webapp
105105
npx trigger.dev@v4-beta init -p <project-ref> -a http://localhost:8030
106106
```
107107

108+
<Warning>
109+
The commands displayed in the webapp are incorrect while v4 is in beta. You should always use the `v4-beta` tag and not `latest`.
110+
</Warning>
111+
108112
{/* 7. Bonus: Add traefik as a reverse proxy
109113
110114
```bash

docs/self-hosting/overview.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@ Because we don't manage self-hosted instances, we cannot guarantee how Trigger.d
1919

2020
For more details, carry on reading and follow our guides for instructions on setting up a self-hosted Trigger.dev instance. If you prefer a managed experience, you can [sign up](https://cloud.trigger.dev/login) for our Cloud offering instead - we have a generous [free tier](https://trigger.dev/pricing) for you to try it out.
2121

22-
{/* TODO: Architecture section with updated diagram */}
22+
## Architecture
23+
24+
The self-hosted version is a set of containers running on your own infrastructure. It's split into two parts that can be scaled independently:
25+
26+
- **Webapp**: includes the dashboard and other services like Redis and Postgres.
27+
- **Worker**: includes the supervisor and the runners that execute your tasks.
28+
29+
![Self-hosting architecture](./architecture.png)
2330

2431
## Feature comparison
2532

0 commit comments

Comments
 (0)