From 1e12eafb62ddbf2b1c7abba8b0226a28a0e70a2a Mon Sep 17 00:00:00 2001 From: technorabilia Date: Tue, 9 Aug 2022 01:05:03 +0000 Subject: [PATCH] Workflow update --- lsio/changedetection.io/docker-compose.yaml | 25 +++++++++++++++++++++ lsio/changedetection.io/docker-run.sh | 14 ++++++++++++ lsio/changedetection.io/run-once.sh | 3 +++ 3 files changed, 42 insertions(+) create mode 100644 lsio/changedetection.io/docker-compose.yaml create mode 100644 lsio/changedetection.io/docker-run.sh create mode 100644 lsio/changedetection.io/run-once.sh diff --git a/lsio/changedetection.io/docker-compose.yaml b/lsio/changedetection.io/docker-compose.yaml new file mode 100644 index 0000000..cccd4d3 --- /dev/null +++ b/lsio/changedetection.io/docker-compose.yaml @@ -0,0 +1,25 @@ +# [Changedetection.io](https://github.com/dgtlmoon/changedetection.io) provides +# free, open-source web page monitoring, notification and change detection. + +--- +version: "2.1" +services: + changedetection.io: + image: ghcr.io/linuxserver/changedetection.io + container_name: changedetection.io + environment: + # for UserID + - PUID=${PUID:-1024} + # for GroupID + - PGID=${PGID:-100} + # Specify a timezone to use for example Europe/Amsterdam + - TZ=${TZ:-Europe/Amsterdam} + # Specify the full URL (including protocol) when running behind a reverse proxy + - BASE_URL= # optional + volumes: + # Contains all relevant configuration files. + - ${BASEDIR:-/volume1/docker}/changedetection.io/config:/config + ports: + # WebUI + - 5000:5000 + restart: unless-stopped diff --git a/lsio/changedetection.io/docker-run.sh b/lsio/changedetection.io/docker-run.sh new file mode 100644 index 0000000..3fc65c4 --- /dev/null +++ b/lsio/changedetection.io/docker-run.sh @@ -0,0 +1,14 @@ +# [Changedetection.io](https://github.com/dgtlmoon/changedetection.io) provides +# free, open-source web page monitoring, notification and change detection. + +source ./.env +docker run -d \ + --name=changedetection.io \ + -e PUID=${PUID:-1024} `# for UserID` \ + -e PGID=${PGID:-100} `# for GroupID` \ + -e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \ + -e BASE_URL= `# optional` `# Specify the full URL (including protocol) when running behind a reverse proxy` \ + -p 5000:5000 `# WebUI` \ + -v ${BASEDIR:-/volume1/docker}/changedetection.io/config:/config `# Contains all relevant configuration files.` \ + --restart unless-stopped \ + ghcr.io/linuxserver/changedetection.io diff --git a/lsio/changedetection.io/run-once.sh b/lsio/changedetection.io/run-once.sh new file mode 100644 index 0000000..848b542 --- /dev/null +++ b/lsio/changedetection.io/run-once.sh @@ -0,0 +1,3 @@ +ln -s ../docker-env.cfg ./.env +. ./.env +mkdir -p ${BASEDIR:-/volume1/docker}/changedetection.io/config