아래와 같이 HEALTHCHECK 를 compose 파일에 추가한다.
HEALTHCHECK --interval=5s --timeout=2s CMD curl --fail http://localhost || kill 1
HEALTHCHECK 를 추가한 경우, 에러서 재기동 될 수 있도록 restart 를 compose 에 추가한다.
healthcheck:
test: ["CMD-SHELL", "curl --silent --fail localhost:9600 || exit 1"]
interval: 10s
timeout: 10s
retries: 3
restart: on-failure


3 thoughts on “container healthCheck 처리”
Bài hay thật, nhưng mạng lag quá, đang định comment thì bị out game 🤯 dù đang bận nhưng cũng tranh thủ quay vài ván giải trí, nghiện luôn. Mình chơi comebet cả tuần rồi, quay cái là mê luôn.
Fala, galera! BRBetano é o point! As odds são boas, e tem uma variedade grande de esportes pra apostar. Já fiz uns palpites certeiros e tô no lucro! Se liga na dica: brbetano.
6l777 is aight. Nothing too special, but they got a few games I like. Payouts are reasonable. Give it a look. 6l777