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

16 lines
785 B
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Smokeping](https://oss.oetiker.ch/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).
2021-04-10 10:16:29 +00:00
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