Skip to content

Commit c06c204

Browse files
authored
Update control startup example
This commit updates control startup example to prevent Compose from interpolating values intended as shell command arguments.
1 parent 4d70d60 commit c06c204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/manuals/compose/how-tos/startup-order.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ services:
4242
db:
4343
image: postgres
4444
healthcheck:
45-
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
45+
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
4646
interval: 10s
4747
retries: 5
4848
start_period: 30s

0 commit comments

Comments
 (0)