17 lines
315 B
Markdown
17 lines
315 B
Markdown
# docker-ping
|
|
|
|
## ENV
|
|
- `HOSTNAME` Server you would like to continuously ping [ default=localhost ]
|
|
- `TIMEOUT` Number of seconds between timeouts [ default=300 ]
|
|
|
|
## docker-compose.yml
|
|
```yml
|
|
...
|
|
services:
|
|
ping:
|
|
image: jpedrosa/docker-ping
|
|
environment:
|
|
HOSTNAME: "10.0.0.61"
|
|
TIMEOUT: 300
|
|
```
|