Advertisement
JohnnyBeGood

changedetection-io_and_playwright-chrome

Aug 17th, 2023
912
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.24 KB | None | 0 0
  1. version: '3.2'
  2. networks:
  3.   changenet:
  4.     name: changenet
  5.     driver: bridge
  6.  
  7. services:
  8.   changedetection:
  9.     image: ghcr.io/dgtlmoon/changedetection.io
  10.     container_name: changedetection
  11.     hostname: changedetection
  12.     volumes:
  13.      - changedetection-data:/datastore
  14.     environment:
  15.      - PORT= 5002
  16.       - PUID= 1000
  17.       - PGID= 1000
  18.       - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true
  19.     ports:
  20.      - 5002:5002
  21.     restart: unless-stopped
  22.     depends_on:
  23.       playwright-chrome:
  24.           condition: service_started
  25.     networks:
  26.      - changenet
  27.  
  28.   playwright-chrome:
  29.     hostname: playwright-chrome
  30.     container_name: playwright-chrome
  31.     image: browserless/chrome:latest
  32.     restart: unless-stopped
  33.     expose:
  34.      - 3000
  35.     environment:
  36.      - SCREEN_WIDTH=1920
  37.       - SCREEN_HEIGHT=1024
  38.       - SCREEN_DEPTH=16
  39.       - ENABLE_DEBUGGER=false
  40.       - PREBOOT_CHROME=true
  41.       - CONNECTION_TIMEOUT=300000
  42.       - MAX_CONCURRENT_SESSIONS=10
  43.       - CHROME_REFRESH_TIME= 600000
  44.       - DEFAULT_BLOCK_ADS=true
  45.       - DEFAULT_STEALTH=true
  46.       - DEFAULT_IGNORE_HTTPS_ERRORS=true
  47.     networks:
  48.      - changenet
  49.  
  50. volumes:
  51.  changedetection-data:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement