Skip to content

Commit 1ace4eb

Browse files
committed
docs(readme): add browserless to docker-compose example
1 parent e545191 commit 1ace4eb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,24 @@ services:
5656
# AUTO_SOURCE_ALLOWED_ORIGINS: 127.0.0.1:3000
5757
## to allow multiple origins, seperate those via comma:
5858
# AUTO_SOURCE_ALLOWED_ORIGINS: example.com,h2r.host.tld
59+
BROWSERLESS_IO_WEBSOCKET_URL: ws://browserless:3001
60+
BROWSERLESS_IO_API_TOKEN: 6R0W53R135510
61+
5962
watchtower:
6063
image: containrrr/watchtower
6164
volumes:
6265
- /var/run/docker.sock:/var/run/docker.sock
6366
- "~/.docker/config.json:/config.json"
6467
command: --cleanup --interval 7200
68+
69+
browserless:
70+
image: "ghcr.io/browserless/chromium"
71+
ports:
72+
- "3001:3001"
73+
environment:
74+
PORT: 3001
75+
CONCURRENT: 10
76+
TOKEN: 6R0W53R135510
6577
```
6678
6779
Start it up with: `docker compose up`.

0 commit comments

Comments
 (0)