docker-bits/lsio/smokeping/docker-run.sh

16 lines
749 B
Bash
Raw Normal View History

2021-04-10 10:16:29 +00:00
# Smokeping keeps track of your network latency. For a full example of what this
# application is capable of visit [UCDavis](http://smokeping.ucdavis.edu/cgi-
# bin/smokeping.fcgi).
source ./.env
docker run -d \
--name=smokeping \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
2021-04-10 10:16:29 +00:00
-p 80:80 `# Allows HTTP access to the internal webserver.` \
-v ${BASEDIR:-/volume1/docker}/smokeping/config:/config `# Configure the `Targets` file here` \
-v ${BASEDIR:-/volume1/docker}/smokeping/data:/data `# Storage location for db and application data (graphs etc)` \
--restart unless-stopped \
ghcr.io/linuxserver/smokeping