From 41506a809415e6eb61771c5d41ebddd0a08be9ad Mon Sep 17 00:00:00 2001 From: LuckyBear Date: Wed, 3 Apr 2024 05:00:00 +0000 Subject: [PATCH] fix ERROR: Invalid interpolation format for "healthcheck" option in service "one-api": --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 30edb281a6..73246d4f16 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,7 @@ services: - redis - db healthcheck: - test: [ "CMD-SHELL", "wget -q -O - http://localhost:3000/api/status | grep -o '\"success\":\\s*true' | awk -F: '{print $2}'" ] + test: [ "CMD-SHELL", "wget -q -O - http://localhost:3000/api/status | grep -o '\"success\":\\s*true' | awk -F: '{print $$2}'" ] interval: 30s timeout: 10s retries: 3