Advertisement
Guest User

Untitled

a guest
Dec 16th, 2023
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.76 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. # Configurable proxy list support, see https://github.com/dgtlmoon/changedetection.io/wiki/Proxy-configuration#proxy-list-support
  10. # - ./proxies.json:/datastore/proxies.json
  11.  
  12. environment:
  13. # Default listening port, can also be changed with the -p option
  14. # - PORT=5000
  15.  
  16. # - PUID=1000
  17. # - PGID=1000
  18. #
  19. # Alternative WebDriver/selenium URL, do not use "'s or 's!
  20. # - WEBDRIVER_URL=http://browser-chrome:4444/wd/hub
  21. #
  22. # WebDriver proxy settings webdriver_proxyType, webdriver_ftpProxy, webdriver_noProxy,
  23. # webdriver_proxyAutoconfigUrl, webdriver_autodetect,
  24. # webdriver_socksProxy, webdriver_socksUsername, webdriver_socksVersion, webdriver_socksPassword
  25. #
  26. # https://selenium-python.readthedocs.io/api.html#module-selenium.webdriver.common.proxy
  27. #
  28. # Alternative Playwright URL, do not use "'s or 's!
  29. - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true
  30. #
  31. # Playwright proxy settings playwright_proxy_server, playwright_proxy_bypass, playwright_proxy_username, playwright_proxy_password
  32. #
  33. # https://playwright.dev/python/docs/api/class-browsertype#browser-type-launch-option-proxy
  34. #
  35. # Plain requests - proxy support example.
  36. # - HTTP_PROXY=socks5h://10.10.1.10:1080
  37. # - HTTPS_PROXY=socks5h://10.10.1.10:1080
  38. #
  39. # An exclude list (useful for notification URLs above) can be specified by with
  40. # - NO_PROXY="localhost,192.168.0.0/24"
  41. #
  42. # Base URL of your changedetection.io install (Added to the notification alert)
  43. # - BASE_URL=https://mysite.com
  44. # Respect proxy_pass type settings, `proxy_set_header Host "localhost";` and `proxy_set_header X-Forwarded-Prefix /app;`
  45. # More here https://github.com/dgtlmoon/changedetection.io/wiki/Running-changedetection.io-behind-a-reverse-proxy-sub-directory
  46. # - USE_X_SETTINGS=1
  47. #
  48. # Hides the `Referer` header so that monitored websites can't see the changedetection.io hostname.
  49. # - HIDE_REFERER=true
  50. #
  51. # Default number of parallel/concurrent fetchers
  52. # - FETCH_WORKERS=10
  53.  
  54. # Comment out ports: when using behind a reverse proxy , enable networks: etc.
  55. ports:
  56. - 5000:5000
  57. restart: unless-stopped
  58.  
  59. # Used for fetching pages via WebDriver+Chrome where you need Javascript support.
  60. # Now working on arm64 (needs testing on rPi - tested on Oracle ARM instance)
  61. # replace image with seleniarm/standalone-chromium:4.0.0-20211213
  62.  
  63. # If WEBDRIVER or PLAYWRIGHT are enabled, changedetection container depends on that
  64. # and must wait before starting (substitute "browser-chrome" with "playwright-chrome" if last one is used)
  65. # depends_on:
  66. # browser-chrome:
  67. # condition: service_started
  68.  
  69. # Used for fetching pages via Playwright+Chrome where you need Javascript support.
  70. # Note: Playwright/browserless not supported on ARM type devices (rPi etc)
  71. # RECOMMENDED FOR FETCHING PAGES WITH CHROME
  72. playwright-chrome:
  73. hostname: playwright-chrome
  74. image: browserless/chrome:1.60-chrome-stable
  75. restart: unless-stopped
  76. environment:
  77. - SCREEN_WIDTH=1920
  78. - SCREEN_HEIGHT=1024
  79. - SCREEN_DEPTH=16
  80. - ENABLE_DEBUGGER=false
  81. - PREBOOT_CHROME=true
  82. - CONNECTION_TIMEOUT=300000
  83. - MAX_CONCURRENT_SESSIONS=10
  84. - CHROME_REFRESH_TIME=600000
  85. - DEFAULT_BLOCK_ADS=true
  86. - DEFAULT_STEALTH=true
  87.  
  88. Ignore HTTPS errors, like for self-signed certs
  89. - DEFAULT_IGNORE_HTTPS_ERRORS=true
  90.  
  91.  
  92. # Used for fetching pages via Playwright+Chrome where you need Javascript support.
  93. # Note: works well but is deprecated, does not fetch full page screenshots (doesnt work with Visual Selector) and other issues
  94. # browser-chrome:
  95. # hostname: browser-chrome
  96. # image: selenium/standalone-chrome:4
  97. # environment:
  98. # - VNC_NO_PASSWORD=1
  99. # - SCREEN_WIDTH=1920
  100. # - SCREEN_HEIGHT=1080
  101. # - SCREEN_DEPTH=24
  102. #volumes:
  103. # Workaround to avoid the browser crashing inside a docker container
  104. # See https://github.com/SeleniumHQ/docker-selenium#quick-start
  105. # - /dev/shm:/dev/shm
  106. # restart: unless-stopped
  107.  
  108. volumes:
  109. changedetection-data:
  110.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement