working on a health check

healthcheck
lza_menace 2 years ago
parent ef1144ae1c
commit 77512f350f

@ -67,3 +67,8 @@ services:
- 127.0.0.1:${UNRESTRICTED_PORT:-18083}:18083 # unrestricted rpc
command:
monerod --data-dir=/data --p2p-bind-ip=0.0.0.0 --p2p-bind-port=18080 --rpc-restricted-bind-ip=0.0.0.0 --rpc-restricted-bind-port=18081 --zmq-rpc-bind-ip=0.0.0.0 --zmq-rpc-bind-port=18082 --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18083 --non-interactive --confirm-external-bind --public-node --log-level=0 --enable-dns-blocklist
healthcheck:
test: wget localhost:18088/get_info -t 1 -O - || exit 1
timeout: 3s
interval: 10s
retries: 3

Loading…
Cancel
Save