From 70606ab05dcdc5a16d6263b608066be37e603ebd Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 6 Nov 2023 22:33:22 +0100 Subject: [PATCH] Update docker-compose.yml - playwright version should be the same as in the automated tests --- docker-compose.yml | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a6b927de..0e9be7f8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -66,25 +66,12 @@ services: # browser-chrome: # condition: service_started -# browser-chrome: -# hostname: browser-chrome -# image: selenium/standalone-chrome:4 -# environment: -# - VNC_NO_PASSWORD=1 -# - SCREEN_WIDTH=1920 -# - SCREEN_HEIGHT=1080 -# - SCREEN_DEPTH=24 -# volumes: -# # Workaround to avoid the browser crashing inside a docker container -# # See https://github.com/SeleniumHQ/docker-selenium#quick-start -# - /dev/shm:/dev/shm -# restart: unless-stopped - # Used for fetching pages via Playwright+Chrome where you need Javascript support. # Note: Playwright/browserless not supported on ARM type devices (rPi etc) + # RECOMMENDED FOR FETCHING PAGES WITH CHROME # playwright-chrome: # hostname: playwright-chrome -# image: browserless/chrome +# image: browserless/chrome:1.60-chrome-stable # restart: unless-stopped # environment: # - SCREEN_WIDTH=1920 @@ -101,6 +88,23 @@ services: # Ignore HTTPS errors, like for self-signed certs # - DEFAULT_IGNORE_HTTPS_ERRORS=true # + + # Used for fetching pages via Playwright+Chrome where you need Javascript support. + # Note: works well but is deprecated, doesnt fetch full page screenshots and other issues +# browser-chrome: +# hostname: browser-chrome +# image: selenium/standalone-chrome:4 +# environment: +# - VNC_NO_PASSWORD=1 +# - SCREEN_WIDTH=1920 +# - SCREEN_HEIGHT=1080 +# - SCREEN_DEPTH=24 +# volumes: +# # Workaround to avoid the browser crashing inside a docker container +# # See https://github.com/SeleniumHQ/docker-selenium#quick-start +# - /dev/shm:/dev/shm +# restart: unless-stopped + volumes: changedetection-data: