YouROK / TorrServer

Torrent stream server
GNU General Public License v3.0
1.51k stars 191 forks source link

health check посоветуйте для docker-compose #356

Closed AlexBGoode closed 7 months ago

AlexBGoode commented 7 months ago

Пускаю из предложенного docker-compose.yaml но иногда по логам все ок но сервер тупит и думается мне хорошо бы настроить healch check но не могу догадаться какую команду использовать чтобы тес был показательным

TopperBG commented 7 months ago

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