From 40fdbd5f0ea3624df8c2116bd1ec495a5ee6ee0c Mon Sep 17 00:00:00 2001 From: technorabilia Date: Sat, 23 Mar 2024 00:32:01 +0000 Subject: [PATCH] Workflow update --- lsio/smokeping/docker-compose.yaml | 6 ++++++ lsio/smokeping/docker-run.sh | 3 +++ 2 files changed, 9 insertions(+) diff --git a/lsio/smokeping/docker-compose.yaml b/lsio/smokeping/docker-compose.yaml index ce05ee8..117399d 100644 --- a/lsio/smokeping/docker-compose.yaml +++ b/lsio/smokeping/docker-compose.yaml @@ -15,6 +15,12 @@ services: - PGID=${PGID:-100} # specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). - TZ=${TZ:-Europe/Amsterdam} + # Specify the master url to connect to. Used when in slave mode. + - MASTER_URL=http://:80/smokeping/ # optional + # Specify the master shared secret for this host. Used when in slave mode. + - SHARED_SECRET=password # optional + # Specify the cache directory for this host. Used when in slave mode. + - CACHE_DIR=/tmp # optional volumes: # Persistent config files - ${BASEDIR:-/volume1/docker}/smokeping/config:/config diff --git a/lsio/smokeping/docker-run.sh b/lsio/smokeping/docker-run.sh index ac17a15..7c43a7b 100644 --- a/lsio/smokeping/docker-run.sh +++ b/lsio/smokeping/docker-run.sh @@ -8,6 +8,9 @@ docker run -d \ -e PUID=${PUID:-1024} `# for UserID` \ -e PGID=${PGID:-100} `# for GroupID` \ -e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \ + -e MASTER_URL=http://:80/smokeping/ `# optional` `# Specify the master url to connect to. Used when in slave mode.` \ + -e SHARED_SECRET=password `# optional` `# Specify the master shared secret for this host. Used when in slave mode.` \ + -e CACHE_DIR=/tmp `# optional` `# Specify the cache directory for this host. Used when in slave mode.` \ -p 80:80 `# Allows HTTP access to the internal webserver.` \ -v ${BASEDIR:-/volume1/docker}/smokeping/config:/config `# Persistent config files` \ -v ${BASEDIR:-/volume1/docker}/smokeping/data:/data `# Storage location for db and application data (graphs etc)` \