Skip to content

Commit

Permalink
Bot Updating Templated Files
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxServer-CI committed Mar 22, 2024
1 parent da61e11 commit a50a7c6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ The architectures supported by this image are:
* To reload the configuration without restarting the container, run `docker exec smokeping pkill -f -HUP '/usr/bin/perl /usr/s?bin/smokeping(_cgi)?'`, where `smokeping` is the container ID.
* To restart the container, run `docker restart smokeping`, where `smokeping` is the container ID.
* Note that the default `Targets` file includes items that may or may not work. These are simply to provide examples of configuration.
* Slave setup: modify the `Targets`, `Slaves`, and `smokeping_secrets` files on the master host, per [the documentation](https://manpages.ubuntu.com/manpages/trusty/en/man7/smokeping_master_slave.7.html).

## Usage

Expand All @@ -82,6 +83,9 @@ services:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- MASTER_URL=http://<master-host-ip>:80/smokeping/ #optional
- SHARED_SECRET=password #optional
- CACHE_DIR=/tmp #optional
volumes:
- /path/to/smokeping/config:/config
- /path/to/smokeping/data:/data
Expand All @@ -98,6 +102,9 @@ docker run -d \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Etc/UTC \
-e MASTER_URL=http://<master-host-ip>:80/smokeping/ `#optional` \
-e SHARED_SECRET=password `#optional` \
-e CACHE_DIR=/tmp `#optional` \
-p 80:80 \
-v /path/to/smokeping/config:/config \
-v /path/to/smokeping/data:/data \
Expand All @@ -115,6 +122,9 @@ Containers are configured using parameters passed at runtime (such as those abov
| `-e PUID=1000` | for UserID - see below for explanation |
| `-e PGID=1000` | for GroupID - see below for explanation |
| `-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 MASTER_URL=http://<master-host-ip>:80/smokeping/` | Specify the master url to connect to. Used when in slave mode. |
| `-e SHARED_SECRET=password` | Specify the master shared secret for this host. Used when in slave mode. |
| `-e CACHE_DIR=/tmp` | Specify the cache directory for this host. Used when in slave mode. |
| `-v /config` | Persistent config files |
| `-v /data` | Storage location for db and application data (graphs etc) |

Expand Down Expand Up @@ -279,6 +289,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **22.03.24:** - Adding ability to run as a slave.
* **23.12.23:** - Rebase to Alpine 3.19.
* **29.11.23:** - Bump tcpping to 1.8.
* **21.11.23:** - Add support for IRTT Probes.
Expand Down

0 comments on commit a50a7c6

Please sign in to comment.