This program checks your internet connection every minute to generate a graph of your uptime. This can either be done by pinging an external IP address, or by curling a healthchecks.io endpoint.
A docker image is available here, you can create a new conatiner by running:
docker create \
--name=uptime \
-p 8766:80 \
-v /path/to/data:/config \
-e PUID=uid `#optional` \
-e PGID=gid `#optional` \
--restart unless-stopped \
henrywhitaker3/uptime-tracker
speedtest:
container_name: uptime
image: henrywhitaker3/uptime-tracker:dev
ports:
- 8766:80
volumes:
- /path/to/data:/config
environment:
- TZ=
- PGID=
- PUID=
- BASE_PATH=/speedtest
restart: unless-stopped
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal> respectively. For example, -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 outside the container.
| Parameter | Function |
|---|---|
-p 8765:80 | Exposes the webserver on port 8765 |
-v /config | All the config files reside here. |
-e PUID | Optional. Supply a local user ID for volume permissions |
-e PGID | Optional. Supply a local group ID for volume permissions |
Content type
Image
Digest
Size
96.8 MB
Last updated
about 6 years ago
docker pull henrywhitaker3/uptime-tracker