Add blindbit healthcheck
This commit is contained in:
parent
a550061434
commit
d481ba4b3e
@ -49,13 +49,19 @@ services:
|
||||
btcnet:
|
||||
aliases:
|
||||
- blindbit
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "code=$(curl -s -o /dev/null -w '%{http_code}' http://localhost:8000); [ \"$code\" != \"000\" ]"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
restart: unless-stopped
|
||||
|
||||
sdk_relay:
|
||||
image: git.4nkweb.com/4nk/sdk_relay:dev
|
||||
container_name: sdk_relay
|
||||
depends_on:
|
||||
- blindbit
|
||||
blindbit:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- ./relay/sdk_relay.conf:/home/bitcoin/.conf:ro
|
||||
- sdk_data:/home/bitcoin/.4nk
|
||||
|
Loading…
x
Reference in New Issue
Block a user