techblog

changedetection.io

Jan 13th, 2022 (edited)
263
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: "3.7"
  2.  
  3. services:
  4.   changedetection.io:
  5.     image: ghcr.io/dgtlmoon/changedetection.io
  6.     container_name: changedetection.io
  7.     hostname: changedetection.io
  8.     volumes:
  9.      - ./changedetection/data:/datastore
  10.  
  11.     environment:
  12.    #Default listening port, can also be changed with the -p option
  13.       - PORT=5000
  14.       - PUID=1000
  15.       - PGID=1000
  16.       - WEBDRIVER_URL=http://browser-chrome:4444/wd/hub
  17.     ports:
  18.      - 5000:5000
  19.     restart: unless-stopped
  20.  
  21.   browser-chrome:
  22.       hostname: browser-chrome
  23.       container_name: browser-chrome
  24.       image: selenium/standalone-chrome-debug:3.141.59
  25.       environment:
  26.          - VNC_NO_PASSWORD=1
  27.           - SCREEN_WIDTH=1920
  28.           - SCREEN_HEIGHT=1080
  29.           - SCREEN_DEPTH=24
  30.       volumes:
  31.          # Workaround to avoid the browser crashing inside a docker container
  32.           # See https://github.com/SeleniumHQ/docker-selenium#quick-start
  33.           - /dev/shm:/dev/shm
  34.       restart: unless-stopped
  35.  
  36. volumes:
  37.  changedetection-data:
RAW Paste Data Copied