From 205a775c79412d43053a8074b11b88c9816471d0 Mon Sep 17 00:00:00 2001 From: dismad <81990132+dismad@users.noreply.github.com> Date: Fri, 7 Feb 2025 21:11:13 -0800 Subject: [PATCH] Update docker-compose.yml add jsonrpc arg to curl so getinfo shows correctly --- docker/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 7887109..edef2e3 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -16,7 +16,7 @@ services: interval: 15s timeout: 10s retries: 3 - test: ["CMD-SHELL", "curl --data-binary '{\"id\":\"curltest\", \"method\": \"getinfo\"}' -H 'content-type: application/json' 127.0.0.1:8232 || exit 1"] + test: ["CMD-SHELL", "curl --data-binary '{\"jsonrpc\": \"2.0\", \"id\":\"curltest\", \"method\": \"getinfo\"}' -H 'content-type: application/json' 127.0.0.1:8232 || exit 1"] # Uncomment this section to use an external zebrad.toml config # configs: # - source: zebra_config