From 27383ce7fce4f15d7c21ec7fd9909c5161e35827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Tue, 6 Dec 2022 14:11:14 +0100 Subject: [PATCH] changedetection: add webdriver --- changedetection.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/changedetection.yml b/changedetection.yml index 7e37e63..f0c60b5 100644 --- a/changedetection.yml +++ b/changedetection.yml @@ -4,13 +4,22 @@ changedetection: image: dgtlmoon/changedetection.io container_name: changedetection + depends_on: + - chrome user: ${PUID}:${PGID} environment: - TZ=${TZ} - BASE_URL=changes.kucharczyk.xyz + - WEBDRIVER_URL="http://selenium:4444/wd/hub" 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' \ No newline at end of file