An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
feat(service): update Changedetection template (#5937)
Alberto Rizzi4dd3d6ff358a
diff --git a/templates/compose/changedetection.yaml b/templates/compose/changedetection.yamlindex e4efd61edd..2dceb5b109 100644--- a/templates/compose/changedetection.yaml+++ b/templates/compose/changedetection.yaml@@ -7,37 +7,57 @@services:changedetection:image: ghcr.io/dgtlmoon/changedetection.io+ container_name: changedetection+ hostname: changedetectionvolumes:- changedetection-data:/datastoreenvironment:- SERVICE_FQDN_CHANGEDETECTION_5000- - PUID=1000- - PGID=1000- - BASE_URL=$SERVICE_FQDN_CHANGEDETECTION- - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true+ - PUID=${PUID:-1000}+ - PGID=${PGID:-1000}+ - BASE_URL=${BASE_URL:-$SERVICE_FQDN_CHANGEDETECTION}+ - PLAYWRIGHT_DRIVER_URL=${PLAYWRIGHT_DRIVER_URL:-ws://browser-sockpuppet-chrome:3000}# Hides the `Referer` header so that monitored websites can't see the changedetection.io hostname.- - HIDE_REFERER=true+ - HIDE_REFERER=${HIDE_REFERER:-true}+ # Default number of parallel/concurrent fetchers+ - FETCH_WORKERS=${FETCH_WORKERS:-10}+ # Absolute minimum seconds to recheck+ - MINIMUM_SECONDS_RECHECK_TIME=${MINIMUM_SECONDS_RECHECK_TIME:-3}+ # For complete privacy if you don't want to use the 'check version' / telemetry service+ - DISABLE_VERSION_CHECK=${DISABLE_VERSION_CHECK:-true}+ # Maximum height of screenshots+ - SCREENSHOT_MAX_HEIGHT=${SCREENSHOT_MAX_HEIGHT:-16000}+ # Timezone+ - TZ=${TZ:-UTC}+ # Log level+ - LOGGER_LEVEL=${LOGGER_LEVEL:-DEBUG}depends_on:- playwright-chrome:+ browser-sockpuppet-chrome:condition: service_started+ restart: unless-stoppedhealthcheck:test: ["CMD", "echo", "ok"]interval: 5stimeout: 20sretries: 10- playwright-chrome:++ browser-sockpuppet-chrome:+ hostname: browser-sockpuppet-chromeimage: dgtlmoon/sockpuppetbrowser:latest- # cap_add:- # - SYS_ADMIN- # 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+ cap_add:+ - SYS_ADMIN+ # SYS_ADMIN might be too much, but it can be needed on your platformrestart: unless-stoppedenvironment:- - SCREEN_WIDTH=1920- - SCREEN_HEIGHT=1024- - SCREEN_DEPTH=16- - MAX_CONCURRENT_CHROME_PROCESSES=10+ - SCREEN_WIDTH=${SCREEN_WIDTH:-1920}+ - SCREEN_HEIGHT=${SCREEN_HEIGHT:-1024}+ - SCREEN_DEPTH=${SCREEN_DEPTH:-16}+ - MAX_CONCURRENT_CHROME_PROCESSES=${MAX_CONCURRENT_CHROME_PROCESSES:-10}healthcheck:test: ["CMD", "echo", "ok"]interval: 5stimeout: 20sretries: 10++volumes:+ changedetection-data:\ No newline at end of file