mirror of
https://github.com/technorabilia/docker-bits
synced 2024-11-05 00:00:32 +00:00
17 lines
918 B
Bash
17 lines
918 B
Bash
# [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).
|
|
|
|
source ./.env
|
|
docker run -d \
|
|
--name=smokeping \
|
|
-e PUID=${PUID:-1024} `# for UserID` \
|
|
-e PGID=${PGID:-100} `# for GroupID` \
|
|
-e TZ=Etc/UTC `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
|
|
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
|
|
-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
|