1
0
Fork 0

changedetection: don't use selenium

This commit is contained in:
Lukáš Kucharczyk 2022-12-06 15:43:39 +01:00
parent d2e9acb8d6
commit 36a2c20b69
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 9 additions and 8 deletions

View File

@ -5,24 +5,25 @@
image: dgtlmoon/changedetection.io
container_name: changedetection
depends_on:
- chrome
# - chrome
- browserless
user: ${PUID}:${PGID}
environment:
- TZ=${TZ}
- 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:
- "${DOCKER_STORAGE_PATH}/changedetection/data:/datastore"
ports:
- "${CHANGEDETECTION_EXTERNAL_PORT}:${CHANGEDETECTION_INTERNAL_PORT}"
restart: unless-stopped
chrome:
image: selenium/standalone-chrome-debug:3.141.59
container_name: selenium
ports:
- "4444:4444"
shm_size: '2g'
# chrome:
# image: selenium/standalone-chrome-debug:3.141.59
# container_name: selenium
# ports:
# - "4444:4444"
# shm_size: '2g'
browserless:
image: browserless/chrome:1.53-chrome-stable
shm_size: '2g'