add default & remove bash
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
# docker-ping
|
||||
|
||||
## ENV
|
||||
- `HOSTNAME` Server you would like to continuously ping
|
||||
- `TIMEOUT` Number of seconds between timeouts
|
||||
- `HOSTNAME` Server you would like to continuously ping [ default=localhost ]
|
||||
- `TIMEOUT` Number of seconds between timeouts [ default=300 ]
|
||||
|
||||
## docker-compose.yml
|
||||
```yml
|
||||
version: "2"
|
||||
|
||||
...
|
||||
services:
|
||||
|
||||
ping:
|
||||
image: willfarrell/ping
|
||||
restart: always
|
||||
environment:
|
||||
HOSTNAME: "10.0.0.61"
|
||||
TIMEOUT: 300
|
||||
|
Reference in New Issue
Block a user