diff --git a/changedetection/docker-compose.yml b/changedetection/docker-compose.yml index 3fff417..3e7a164 100644 --- a/changedetection/docker-compose.yml +++ b/changedetection/docker-compose.yml @@ -11,6 +11,7 @@ services: - TZ=Europe/Copenhagen - BASE_URL=https://change.knast.cc - WEBDRIVER_URL=http://browser-chrome:4444/wd/hub + - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000 volumes: - /srv/changedetection/config:/config ports: @@ -36,6 +37,21 @@ services: # Fixes potential memory issues in Chrome - /dev/shm:/dev/shm restart: unless-stopped + + playwright-chrome: + hostname: playwright-chrome + image: dgtlmoon/sockpuppetbrowser:latest + container_name: playwright-chrome + cap_add: + - SYS_ADMIN + networks: + - traefik + restart: unless-stopped + environment: + - SCREEN_WIDTH=1920 + - SCREEN_HEIGHT=1024 + - SCREEN_DEPTH=16 + - MAX_CONCURRENT_CHROME_PROCESSES=10 # selenium: # image: selenium/standalone-chrome:latest # container_name: selenium