Adds healthcheck for DID

This commit is contained in:
Italo 2024-06-29 23:29:46 -04:00 committed by GitHub
parent 204aaf5dfa
commit 807304c50b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 4 deletions

View file

@ -63,7 +63,10 @@ services:
privileged: true
restart: 'unless-stopped'
healthcheck:
disable: true
test: ["CMD", "nc", "-z", "127.0.0.1", "2376"]
interval: 10s
timeout: 30s
retries: 10
environment:
DOCKER_TLS_CERTDIR: /certs
DOCKER_HOST: docker-in-docker

View file

@ -63,7 +63,10 @@ services:
privileged: true
restart: 'unless-stopped'
healthcheck:
disable: true
test: ["CMD", "nc", "-z", "127.0.0.1", "2376"]
interval: 10s
timeout: 30s
retries: 10
environment:
DOCKER_TLS_CERTDIR: /certs
DOCKER_HOST: docker-in-docker

View file

@ -62,7 +62,10 @@ services:
privileged: true
restart: 'unless-stopped'
healthcheck:
disable: true
test: ["CMD", "nc", "-z", "127.0.0.1", "2376"]
interval: 10s
timeout: 30s
retries: 10
environment:
DOCKER_TLS_CERTDIR: /certs
DOCKER_HOST: docker-in-docker

View file

@ -40,7 +40,10 @@ services:
privileged: true
restart: 'unless-stopped'
healthcheck:
disable: true
test: ["CMD", "nc", "-z", "127.0.0.1", "2376"]
interval: 10s
timeout: 30s
retries: 10
environment:
DOCKER_TLS_CERTDIR: /certs
DOCKER_HOST: docker-in-docker