diff --git a/projects/changedetection/compose.yaml b/projects/changedetection/compose.yaml index 9cbe6ef..334746a 100644 --- a/projects/changedetection/compose.yaml +++ b/projects/changedetection/compose.yaml @@ -3,14 +3,27 @@ services: hostname: playwright-chrome image: browserless/chrome restart: unless-stopped + environment: + - SCREEN_WIDTH=1920 + - SCREEN_HEIGHT=1024 + - SCREEN_DEPTH=16 + - ENABLE_DEBUGGER=false + - PREBOOT_CHROME=true + - CONNECTION_TIMEOUT=300000 + - MAX_CONCURRENT_SESSIONS=10 + - CHROME_REFRESH_TIME=600000 + - DEFAULT_BLOCK_ADS=true + - DEFAULT_STEALTH=true + changedetection: image: ghcr.io/dgtlmoon/changedetection.io container_name: changedetection hostname: changedetection restart: unless-stopped + environment: + - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true + - BASE_URL=${BASE_URL} ports: - 3008:5000 volumes: - ./data:/datastore - environment: - BASE_URL: ${BASE_URL}