Skip to content

Instantly share code, notes, and snippets.

@ChrisSwanson
Created April 4, 2023 01:24
Show Gist options
  • Save ChrisSwanson/d222cabb5e5da890523b4c232947be55 to your computer and use it in GitHub Desktop.
Save ChrisSwanson/d222cabb5e5da890523b4c232947be55 to your computer and use it in GitHub Desktop.
changedetection.io playwright chrome docker compose
version: "3.8"
services:
changedetection:
container_name: changedetection
hostname: changedetection
image: ghcr.io/dgtlmoon/changedetection.io:latest
environment:
- TZ=America/Los_Angeles
- PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true&token=<redacted>
volumes:
- homelab/changedetection/config:/config
ports:
- 5000:5000
restart: unless-stopped
playwright-chrome:
container_name: playwright-chrome
hostname: playwright-chrome
image: browserless/chrome
environment:
- SCREEN_WIDTH=2560
- SCREEN_HEIGHT=1440
- SCREEN_DEPTH=16
- ENABLE_DEBUGGER=false
- PREBOOT_CHROME=true
- CONNECTION_TIMEOUT=300000
- MAX_CONCURRENT_SESSIONS=10
- CHROME_REFRESH_TIME=600000
- DEFAULT_BLOCK_ADS=true
- DEFAULT_STEALTH=true
- DEFAULT_IGNORE_HTTPS_ERRORS=true
- TOKEN=<redacted>
- WORKSPACE_DELETE_EXPIRED=true
- WORKSPACE_EXPIRE_DAYS=7
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment