chore(service): changedetection remove unused code
This commit is contained in:
@@ -7,47 +7,35 @@
|
|||||||
services:
|
services:
|
||||||
changedetection:
|
changedetection:
|
||||||
image: ghcr.io/dgtlmoon/changedetection.io
|
image: ghcr.io/dgtlmoon/changedetection.io
|
||||||
container_name: changedetection
|
|
||||||
hostname: changedetection
|
|
||||||
volumes:
|
volumes:
|
||||||
- changedetection-data:/datastore
|
- changedetection-data:/datastore
|
||||||
environment:
|
environment:
|
||||||
- SERVICE_FQDN_CHANGEDETECTION_5000
|
- SERVICE_FQDN_CHANGEDETECTION_5000
|
||||||
|
- BASE_URL=${SERVICE_FQDN_CHANGEDETECTION}
|
||||||
- PUID=${PUID:-1000}
|
- PUID=${PUID:-1000}
|
||||||
- PGID=${PGID:-1000}
|
- PGID=${PGID:-1000}
|
||||||
- BASE_URL=${BASE_URL:-$SERVICE_FQDN_CHANGEDETECTION}
|
|
||||||
- PLAYWRIGHT_DRIVER_URL=${PLAYWRIGHT_DRIVER_URL:-ws://browser-sockpuppet-chrome:3000}
|
- 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=${HIDE_REFERER:-true}
|
- HIDE_REFERER=${HIDE_REFERER:-true}
|
||||||
# Default number of parallel/concurrent fetchers
|
|
||||||
- FETCH_WORKERS=${FETCH_WORKERS:-10}
|
- FETCH_WORKERS=${FETCH_WORKERS:-10}
|
||||||
# Absolute minimum seconds to recheck
|
|
||||||
- MINIMUM_SECONDS_RECHECK_TIME=${MINIMUM_SECONDS_RECHECK_TIME:-3}
|
- 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}
|
- DISABLE_VERSION_CHECK=${DISABLE_VERSION_CHECK:-true}
|
||||||
# Maximum height of screenshots
|
|
||||||
- SCREENSHOT_MAX_HEIGHT=${SCREENSHOT_MAX_HEIGHT:-16000}
|
- SCREENSHOT_MAX_HEIGHT=${SCREENSHOT_MAX_HEIGHT:-16000}
|
||||||
# Timezone
|
|
||||||
- TZ=${TZ:-UTC}
|
- TZ=${TZ:-UTC}
|
||||||
# Log level
|
|
||||||
- LOGGER_LEVEL=${LOGGER_LEVEL:-DEBUG}
|
- LOGGER_LEVEL=${LOGGER_LEVEL:-DEBUG}
|
||||||
depends_on:
|
|
||||||
browser-sockpuppet-chrome:
|
|
||||||
condition: service_started
|
|
||||||
restart: unless-stopped
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "echo", "ok"]
|
test: ["CMD", "echo", "ok"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 20s
|
timeout: 20s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
depends_on:
|
||||||
|
browser-sockpuppet-chrome:
|
||||||
|
condition: service_started
|
||||||
|
|
||||||
browser-sockpuppet-chrome:
|
browser-sockpuppet-chrome:
|
||||||
hostname: browser-sockpuppet-chrome
|
hostname: browser-sockpuppet-chrome
|
||||||
image: dgtlmoon/sockpuppetbrowser:latest
|
image: dgtlmoon/sockpuppetbrowser:latest
|
||||||
cap_add:
|
cap_add:
|
||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
# SYS_ADMIN might be too much, but it can be needed on your platform
|
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
environment:
|
||||||
- SCREEN_WIDTH=${SCREEN_WIDTH:-1920}
|
- SCREEN_WIDTH=${SCREEN_WIDTH:-1920}
|
||||||
- SCREEN_HEIGHT=${SCREEN_HEIGHT:-1024}
|
- SCREEN_HEIGHT=${SCREEN_HEIGHT:-1024}
|
||||||
@@ -58,6 +46,3 @@ services:
|
|||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 20s
|
timeout: 20s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
||||||
volumes:
|
|
||||||
changedetection-data:
|
|
Reference in New Issue
Block a user