2016-07-07 12:39:55 -06:00
|
|
|
# docker-ping
|
2016-07-07 12:37:46 -06:00
|
|
|
|
|
|
|
## ENV
|
2017-01-22 12:32:01 -07:00
|
|
|
- `HOSTNAME` Server you would like to continuously ping [ default=localhost ]
|
|
|
|
- `TIMEOUT` Number of seconds between timeouts [ default=300 ]
|
2016-07-07 12:37:46 -06:00
|
|
|
|
|
|
|
## docker-compose.yml
|
|
|
|
```yml
|
2017-01-22 12:32:01 -07:00
|
|
|
...
|
2016-07-07 12:37:46 -06:00
|
|
|
services:
|
|
|
|
ping:
|
2023-05-26 17:37:15 +00:00
|
|
|
build: https://git.devbones.com/conky/docker-ping.git
|
|
|
|
restart: always
|
|
|
|
depends_on:
|
|
|
|
- wireguard
|
2016-07-07 12:37:46 -06:00
|
|
|
environment:
|
2023-05-26 17:37:15 +00:00
|
|
|
- HOSTNAME=ip.address.to.ping
|
|
|
|
- TIMEOUT=5
|
2023-03-10 11:51:22 +01:00
|
|
|
```
|