Advertisement
islander2013

docker-compose.yml_v2

Mar 6th, 2025
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.55 KB | None | 0 0
  1. #version: '3.2'
  2. services:
  3.   changedetection:
  4.     image: ghcr.io/dgtlmoon/changedetection.io
  5.     container_name: changedetection
  6.     hostname: changedetection
  7.     volumes:
  8.      - changedetection-data:/datastore
  9.     environment:
  10.      - PORT= 5000
  11.       - PUID= 1000
  12.       - PGID= 1000
  13.       - WEBDRIVER_URL=http://browser-chrome:4444/wd/hub
  14.       #- PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true
  15.       #- PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000
  16.       - PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000
  17.       - BASE_URL=https://192.168.1.191
  18.     ports:
  19.      - 5000:5000
  20.     restart: unless-stopped
  21.     depends_on:
  22.           playwright-chrome:
  23.               condition: service_started
  24.      # browser-chrome:
  25.      # hostname: browser-chrome
  26.      # image: seleniarm/standalone-chromium:4.0.0-20211213
  27.      # volumes:
  28.             # Workaround to avoid the browser crashing inside a docker container
  29.             # See https://github.com/SeleniumHQ/docker-selenium#quick-start
  30.       #      - /dev/shm:/dev/shm
  31.       #  restart: unless-stopped  
  32.     playwright-chrome:
  33.         hostname: playwright-chrome
  34.         #image: browserless/chrome
  35.         image: dgtlmoon/sockpuppetbrowser:latest
  36.         #cap_add:
  37.             #- SYS_ADMIN
  38.         restart: unless-stopped
  39.         platform: linux/arm64
  40.         environment:
  41.            - SCREEN_WIDTH=1920
  42.             - SCREEN_HEIGHT=1024
  43.             - SCREEN_DEPTH=16
  44.             - MAX_CONCURRENT_CHROME_PROCESSES=10
  45. volumes:
  46.  changedetection-data:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement