Container toolbox to diagnose connection between databases, http services, etc...
docker run -p 80:80 -e TEST_HTTP_GITHUB="https://github.com/" banst/cobd:latest
Starting up on port 80
Running 1 test(s)...
Passed Http https://github.com/
This will spinup a webserver on port 80 by default.
COBD_ENABLE_ENV is set. Take extra care before exposing /env path publicly, as it could leak some critical informations (secrets, kube config, etc...).Options are given as env vars prefixed with COBD_
| Name | Description | Default |
|---|---|---|
| COBD_PORT | Listening port. | 80 |
| COBD_ENABLE_ENV | Enable the /env path. Set to any value to enable. | Unset |
Each test variable must start with COBD_T_
| Pattern | Description | Expected value |
|---|---|---|
| COBD_T_REDIS | Test a connection to redis | A redis connection string |
| COBD_T_SQL_[DRIVER] | Test a connection to sql database. The driver should be one of a sql supported driver | A sql connection string (check drivers for details) |
| COBD_T_HTTP_[NAME] | Do a HEAD request to target. Succeed if the status code is >=200 && <400 | An http/https url, protocol included |
Content type
Image
Digest
Size
4.6 MB
Last updated
about 6 years ago
docker pull banst/cobd