Workflow update

This commit is contained in:
technorabilia 2024-03-23 00:32:01 +00:00
parent f052083250
commit 40fdbd5f0e
2 changed files with 9 additions and 0 deletions

View File

@ -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://<master-host-ip>: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

View File

@ -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://<master-host-ip>: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)` \