1
0
Fork 0

changedetection: add playwright

This commit is contained in:
Lukáš Kucharczyk 2022-12-06 14:50:03 +01:00
parent 27383ce7fc
commit d2e9acb8d6
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 9 additions and 0 deletions

View File

@ -11,6 +11,7 @@
- TZ=${TZ} - TZ=${TZ}
- BASE_URL=changes.kucharczyk.xyz - BASE_URL=changes.kucharczyk.xyz
- WEBDRIVER_URL="http://selenium:4444/wd/hub" - WEBDRIVER_URL="http://selenium:4444/wd/hub"
- PLAYWRIGHT_DRIVER_URL="ws://browserless:3100/?stealth=1&--disable-web-security=true"
volumes: volumes:
- "${DOCKER_STORAGE_PATH}/changedetection/data:/datastore" - "${DOCKER_STORAGE_PATH}/changedetection/data:/datastore"
ports: ports:
@ -22,4 +23,12 @@
ports: ports:
- "4444:4444" - "4444:4444"
shm_size: '2g' shm_size: '2g'
browserless:
image: browserless/chrome:1.53-chrome-stable
shm_size: '2g'
environment:
- DEFAULT_LAUNCH_ARGS=[\"--window-size=1920,1080\"]
ports:
- "3100:3000"