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