mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 12:19:04 +08:00
feat(self-host/docs): playwright-service-ts is now default
This commit is contained in:
parent
7f5ff80203
commit
bec52bef6c
22
SELF_HOST.md
22
SELF_HOST.md
@ -69,27 +69,7 @@ POSTHOG_API_KEY= # set if you'd like to send posthog events like job logs
|
|||||||
POSTHOG_HOST= # set if you'd like to send posthog events like job logs
|
POSTHOG_HOST= # set if you'd like to send posthog events like job logs
|
||||||
```
|
```
|
||||||
|
|
||||||
3. *(Optional) Running with TypeScript Playwright Service*
|
3. Build and run the Docker containers:
|
||||||
|
|
||||||
* Update the `docker-compose.yml` file to change the Playwright service:
|
|
||||||
|
|
||||||
```plaintext
|
|
||||||
build: apps/playwright-service
|
|
||||||
```
|
|
||||||
TO
|
|
||||||
```plaintext
|
|
||||||
build: apps/playwright-service-ts
|
|
||||||
```
|
|
||||||
|
|
||||||
* Set the `PLAYWRIGHT_MICROSERVICE_URL` in your `.env` file:
|
|
||||||
|
|
||||||
```plaintext
|
|
||||||
PLAYWRIGHT_MICROSERVICE_URL=http://localhost:3000/scrape
|
|
||||||
```
|
|
||||||
|
|
||||||
* Don't forget to set the proxy server in your `.env` file as needed.
|
|
||||||
|
|
||||||
4. Build and run the Docker containers:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose build
|
docker compose build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user