hey,
please have a look on the recommended health check command. You can update the domain that points to Traefik instance and tune other parameters (internal, start_period) according to your needs.
healthcheck:
test: wget --quiet --tries=1 --spider http://ping.127.0.0.1.nip.io/ping || exit 1
interval: 10s
timeout: 1s
retries: 3
start_period: 10s
More details in that repo: