Advertisement
Guest User

Untitled

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