diff --git a/green.yaml b/green.yaml index 387dde3..8ed5971 100644 --- a/green.yaml +++ b/green.yaml @@ -96,6 +96,12 @@ services: ports: - 6980:6980 restart: always + healthcheck: # <- if on a qnap nas, the default health check will not work for you, domain name is the container_name + test: [ "CMD-SHELL", "curl -f http://namer:6980/api/healthcheck || exit 1" ] + interval: 1m + timeout: 30s + # retries: 3 + # start_period: 40s deploy: labels: - homepage.group=Green Door