diff --git a/compose-monitor.yml b/compose-monitor.yml index 6c2a540..6dc592e 100644 --- a/compose-monitor.yml +++ b/compose-monitor.yml @@ -23,4 +23,9 @@ services: deploy: resources: limits: - memory: 256M \ No newline at end of file + memory: 256M + healthcheck: + test: ["CMD-SHELL", "wget -q --spider http://localhost:8090 || exit 1"] + interval: 30s + timeout: 5s + retries: 3 \ No newline at end of file