Enable Chrome/Playwright for changedetection

This commit is contained in:
Thomas Kleinendorst 2024-11-21 21:52:36 +01:00
parent 5794ef6625
commit 6786060a1f
5 changed files with 53 additions and 17 deletions

View file

@ -0,0 +1,30 @@
---
services:
changedetection-server:
image: "docker.io/dgtlmoon/changedetection.io:{{ changedetection_version }}"
hostname: changedetection
restart: always
ports:
- "127.0.0.1:5000:5000/tcp"
volumes:
- "changedetection_data:/datastore"
environment:
- PLAYWRIGHT_DRIVER_URL=ws://browserless-chrome:3000
# See configuration from: https://www.youtube.com/watch?v=o_iG4Wunh98
browserless-chrome:
image: "browserless/chrome:{{ browserless_chrome_version }}"
hostname: browserless-chrome
restart: always
environment:
- SCREEN_WIDTH=1920
- SCREEN_HEIGHT=1024
- 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
volumes:
changedetection_data: