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 image: dgtlmoon/changedetection.io
container_name: changedetection container_name: changedetection
depends_on: depends_on:
# - chrome
- browserless - 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" - PLAYWRIGHT_DRIVER_URL="ws://browserless:3000/?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:
# image: selenium/standalone-chrome-debug:3.141.59
# container_name: selenium
# ports:
# - "4444:4444"
# shm_size: '2g'
browserless: browserless:
image: browserless/chrome:1.53-chrome-stable image: browserless/chrome:1.53-chrome-stable
container_name: browserless
shm_size: '2g' shm_size: '2g'
environment: environment:
- DEFAULT_LAUNCH_ARGS=[\"--window-size=1920,1080\"] - DEFAULT_LAUNCH_ARGS=[\"--window-size=1920,1080\"]
ports: ports:
- "3100:3000" - "3100:3000"
restart: unless-stopped