Fixing health check description to reference mc-monitor

For #426
This commit is contained in:
Geoff Bourne 2020-04-11 10:51:30 -05:00
parent cd70cbcbea
commit e7cc54092a
2 changed files with 4 additions and 12 deletions

View File

@ -145,8 +145,8 @@ Keep in mind that some versions of Minecraft server can't work on the newest ver
## Healthcheck
This image contains [Dinnerbone's mcstatus](https://github.com/Dinnerbone/mcstatus) and uses
its `ping` command to continually check on the container's. That can be observed
This image contains [mc-monitor](https://github.com/itzg/mc-monitor) and uses
its `status` command to continually check on the container's. That can be observed
from the `STATUS` column of `docker ps`
```
@ -161,16 +161,6 @@ You can also query the container's health in a script friendly way:
healthy
```
Finally, since `mcstatus` is on the `PATH` you can exec into the container
and use mcstatus directly and invoke any of its other commands:
```
> docker exec mc mcstatus localhost status
version: v1.12 (protocol 335)
description: "{u'text': u'A Minecraft Server Powered by Docker'}"
players: 0/20 No players online
```
## Deployment Templates and Examples
### Helm Charts

View File

@ -1,5 +1,7 @@
#!/bin/bash
echo "WARNING: mcstatus is deprecated; calling mc-monitor instead"
##### mcstatus shim for mc-monitor
# handles translating calls to
# mcstatus (host:port) (command)