Advertisement
Guest User

Untitled

a guest
Feb 8th, 2024
541
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.86 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. # Log levels are in descending order. (TRACE is the most detailed one)
  20. # Log output levels: TRACE, DEBUG(default), INFO, SUCCESS, WARNING, ERROR, CRITICAL
  21. # - LOGGER_LEVEL=DEBUG
  22. #
  23. # Alternative WebDriver/selenium URL, do not use "'s or 's!
  24. # - WEBDRIVER_URL=http://browser-chrome:4444/wd/hub
  25. #
  26. # WebDriver proxy settings webdriver_proxyType, webdriver_ftpProxy, webdriver_noProxy,
  27. # webdriver_proxyAutoconfigUrl, webdriver_autodetect,
  28. # webdriver_socksProxy, webdriver_socksUsername, webdriver_socksVersion, webdriver_socksPassword
  29. #
  30. # https://selenium-python.readthedocs.io/api.html#module-selenium.webdriver.common.proxy
  31. #
  32. # Alternative Playwright URL, do not use "'s or 's!
  33. - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000
  34. #
  35. # Playwright proxy settings playwright_proxy_server, playwright_proxy_bypass, playwright_proxy_username, playwright_proxy_password
  36. #
  37. # https://playwright.dev/python/docs/api/class-browsertype#browser-type-launch-option-proxy
  38. #
  39. # Plain requests - proxy support example.
  40. # - HTTP_PROXY=socks5h://10.10.1.10:1080
  41. # - HTTPS_PROXY=socks5h://10.10.1.10:1080
  42. #
  43. # An exclude list (useful for notification URLs above) can be specified by with
  44. # - NO_PROXY="localhost,192.168.0.0/24"
  45. #
  46. # Base URL of your changedetection.io install (Added to the notification alert)
  47. # - BASE_URL=https://mysite.com
  48. # Respect proxy_pass type settings, `proxy_set_header Host "localhost";` and `proxy_set_header X-Forwarded-Prefix /app;`
  49. # More here https://github.com/dgtlmoon/changedetection.io/wiki/Running-changedetection.io-behind-a-reverse-proxy-sub-directory
  50. # - USE_X_SETTINGS=1
  51. #
  52. # Hides the `Referer` header so that monitored websites can't see the changedetection.io hostname.
  53. # - HIDE_REFERER=true
  54. #
  55. # Default number of parallel/concurrent fetchers
  56. # - FETCH_WORKERS=10
  57.  
  58. # Comment out ports: when using behind a reverse proxy , enable networks: etc.
  59. ports:
  60. - 5000:5000
  61. restart: unless-stopped
  62.  
  63. # Used for fetching pages via WebDriver+Chrome where you need Javascript support.
  64. # Now working on arm64 (needs testing on rPi - tested on Oracle ARM instance)
  65. # replace image with seleniarm/standalone-chromium:4.0.0-20211213
  66.  
  67. # If WEBDRIVER or PLAYWRIGHT are enabled, changedetection container depends on that
  68. # and must wait before starting (substitute "browser-chrome" with "playwright-chrome" if last one is used)
  69. # depends_on:
  70. # browser-chrome:
  71. # condition: service_started
  72.  
  73. # Used for fetching pages via Playwright+Chrome where you need Javascript support.
  74. # RECOMMENDED FOR FETCHING PAGES WITH CHROME
  75. playwright-chrome:
  76. ports:
  77. - 3001:3000
  78. hostname: playwright-chrome
  79. image: dgtlmoon/sockpuppetbrowser:latest
  80. # cap_add:
  81. # - SYS_ADMIN
  82. ## SYS_ADMIN might be too much, but it can be needed on your platform https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#running-puppeteer-on-gitlabci
  83. restart: unless-stopped
  84. # environment:
  85. # - SCREEN_WIDTH=1920
  86. # - SCREEN_HEIGHT=1024
  87. # - SCREEN_DEPTH=16
  88. # - MAX_CONCURRENT_CHROME_PROCESSES=10
  89.  
  90. # Used for fetching pages via Playwright+Chrome where you need Javascript support.
  91. # Note: Works well but is deprecated, does not fetch full page screenshots (doesnt work with Visual Selector)
  92. # Does not report status codes (200, 404, 403) and other issues
  93. # browser-chrome:
  94. # hostname: browser-chrome
  95. # image: selenium/standalone-chrome:4
  96. # environment:
  97. # - VNC_NO_PASSWORD=1
  98. # - SCREEN_WIDTH=1920
  99. # - SCREEN_HEIGHT=1080
  100. # - SCREEN_DEPTH=24
  101. # volumes:
  102. # # Workaround to avoid the browser crashing inside a docker container
  103. # # See https://github.com/SeleniumHQ/docker-selenium#quick-start
  104. # - /dev/shm:/dev/shm
  105. # restart: unless-stopped
  106.  
  107. volumes:
  108. changedetection-data:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement