From c5892d3e45b089b0a01b8bce297d436daeaa4092 Mon Sep 17 00:00:00 2001 From: Vedran Pavic Date: Thu, 6 Nov 2025 13:44:49 +0100 Subject: [PATCH] Update control startup example This commit updates control startup example to prevent Compose from interpolating values intended as shell command arguments. --- content/manuals/compose/how-tos/startup-order.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/manuals/compose/how-tos/startup-order.md b/content/manuals/compose/how-tos/startup-order.md index 1d55fd5ee14d..ae4e2c62e234 100644 --- a/content/manuals/compose/how-tos/startup-order.md +++ b/content/manuals/compose/how-tos/startup-order.md @@ -42,7 +42,7 @@ services: db: image: postgres healthcheck: - test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"] + test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"] interval: 10s retries: 5 start_period: 30s