1
0
Fork 0

changedetection: remove selenium, fix port

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

View File

@ -5,31 +5,25 @@
image: dgtlmoon/changedetection.io
container_name: changedetection
depends_on:
# - chrome
- browserless
user: ${PUID}:${PGID}
environment:
- TZ=${TZ}
- BASE_URL=changes.kucharczyk.xyz
# - WEBDRIVER_URL="http://selenium:4444/wd/hub"
- PLAYWRIGHT_DRIVER_URL="ws://browserless:3100/?stealth=1&--disable-web-security=true"
- PLAYWRIGHT_DRIVER_URL="ws://browserless:3000/?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'
browserless:
image: browserless/chrome:1.53-chrome-stable
container_name: browserless
shm_size: '2g'
environment:
- DEFAULT_LAUNCH_ARGS=[\"--window-size=1920,1080\"]
ports:
- "3100:3000"
restart: unless-stopped