Skip to content

Instantly share code, notes, and snippets.

@zaherg
Forked from benuski/compose.yml
Created April 12, 2024 16:13
Show Gist options
  • Save zaherg/855e9a612af11a88584bfb1384920818 to your computer and use it in GitHub Desktop.
Save zaherg/855e9a612af11a88584bfb1384920818 to your computer and use it in GitHub Desktop.
changedetection.io and browserless v2 docker compose
version: '3.2'
services:
changedetection:
image: ghcr.io/dgtlmoon/changedetection.io:latest
container_name: changedetection
hostname: changedetection
volumes:
- changedetection-data:/datastore
environment:
- PORT=5000
- PUID=1000
- PGID=1000
# Ensure this URL matches the name of the playwright service
- PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?headless=false
ports:
- 5000:5000
restart: unless-stopped
depends_on:
- playwright-chrome
playwright-chrome:
hostname: playwright-chrome
image: ghcr.io/browserless/chrome
restart: unless-stopped
environment:
- SCREEN_WIDTH=1920
- SCREEN_HEIGHT=1024
- SCREEN_DEPTH=16
- ENABLE_DEBUGGER=false
# Increased connection timeout to reduce chances of timeout errors
- TIMEOUT=600000 # Now 10 minutes
# Increased concurrent sessions for better parallel processing
- CONCURRENT=15
volumes:
changedetection-data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment