health check посоветуйте для docker-compose
AlexBGoode opened this issue · 1 comments
AlexBGoode commented
Пускаю из предложенного docker-compose.yaml но иногда по логам все ок но сервер тупит и думается мне хорошо бы настроить healch check но не могу догадаться какую команду использовать чтобы тес был показательным
TopperBG commented
It can be some tool or internal command to check alive service e.g.
healthcheck:
test: curl --fail http://localhost || exit 1
interval: 60s
retries: 5
start_period: 20s
timeout: 10s