Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 version: '3.2'
- 2 services:
- 3 changedetection:
- 4 image: gh100 # - 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:`
- 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 # Absolute minimum seconds to recheck, overrides any watch minimum, change to 0 to disable
- 59 # - MINIMUM_SECONDS_RECHECK_TIME=3
- 60 # Comment out ports: when using behind a reverse proxy , enable networks: etc.
- 61 ports:
- 62 - 5000:5000
- 63 restart: unless-stopped
- 64
- 65 # Used for fetching pages via WebDriver+Chrome where you need Javascript support.
- 66 # Now working on arm64 (needs testing on rPi - tested on Oracle ARM instance)
- 67 # replace image with seleniarm/standalone-chromium:4.0.0-20211213
- 68
- 69 # If WEBDRIVER or PLAYWRIGHT are enabled, changedetection container depends on that
- 70 # and must wait before starting (substitute "browser-chrome" with "playwright-chrome" if last one is used)
- 71 # depends_on:
- 72 # playwright-chrome:
- 73 # condition: service_started
- 74
- 75
- 76 # Used for fetching pages via Playwright+Chrome where you need Javascript support.
- 77 # RECOMMENDED FOR FETCHING PAGES WITH CHROME
- 78 playwright-chrome:
- 79 hostname: playwright-chrome
- 80 image: dgtlmoon/sockpuppetbrowser:latest
- 81 # cap_add:
- 82 # - SYS_ADMIN
- 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
- nning-puppeteer-on-gitlabci
- 84 # restart: unless-stopped
- 85 # environment:
- 86 # - SCREEN_WIDTH=1920
- 87 # - SCREEN_HEIGHT=1024
- 88 # - SCREEN_DEPTH=16
- 89 # - MAX_CONCURRENT_CHROME_PROCESSES=10
- 90
- 91 # Used for fetching pages via Playwright+Chrome where you need Javascript support.
- 92 # Note: Works well but is deprecated, does not fetch full page screenshots (doesnt work with Visual Selector)
- 93 # Does not report status codes (200, 404, 403) 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:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement