From fb843daf94bf777aac602e6205067aad45982c62 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Thu, 28 Aug 2025 17:00:32 +0200 Subject: [PATCH] Update docker-compose.yml --- examples/changedetection/docker-compose.yml | 30 +++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/examples/changedetection/docker-compose.yml b/examples/changedetection/docker-compose.yml index c39a3b2..46a0ff0 100644 --- a/examples/changedetection/docker-compose.yml +++ b/examples/changedetection/docker-compose.yml @@ -7,6 +7,7 @@ services: - PUID=1000 - PGID=1000 - TZ=Europe/Berlin + - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000 volumes: - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/changedetection/config:/config ports: @@ -24,6 +25,35 @@ services: # # Part for local lan services only; disable to expose externally # - traefik.http.routers.changedetection.middlewares=local-ipwhitelist@file,basic-auth@file + playwright-chrome: + hostname: playwright-chrome + image: dgtlmoon/sockpuppetbrowser:latest + restart: unless-stopped + expose: + - 3000 + tmpfs: + - /tmp # This just keeps tmp data from being written to disk + environment: + - SCREEN_WIDTH=1920 + - SCREEN_HEIGHT=1024 + - SCREEN_DEPTH=16 + - MAX_CONCURRENT_CHROME_PROCESSES=10 + - STATS_REFRESH_SECONDS=120 # Default is 3 seconds which is way too much + #networks: + # - proxy + + #proxy: + # image: dockage/tor-privoxy:latest + # container_name: torprivoxy + # expose: + # - 9050 # socks5 + # - 9051 # tor control port + # - 8118 # http proxy + # hostname: proxy + # restart: unless-stopped + # #networks: + # # - proxy + #networks: # proxy: # external: true