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
4 changed files with 16 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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