From 2c4fffec57f4e4c7f29f23680865e55247bddbee Mon Sep 17 00:00:00 2001 From: Bokyeom <79684339+k-kbk@users.noreply.github.com> Date: Mon, 14 Apr 2025 16:09:26 +0900 Subject: [PATCH] Fix minor typos (#22419) ## Description Fixed minor typos to improve readability. --- content/manuals/compose/how-tos/profiles.md | 6 +++--- content/manuals/compose/how-tos/startup-order.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/manuals/compose/how-tos/profiles.md b/content/manuals/compose/how-tos/profiles.md index 9f745510b9..5d90153606 100644 --- a/content/manuals/compose/how-tos/profiles.md +++ b/content/manuals/compose/how-tos/profiles.md @@ -111,8 +111,8 @@ services: # Only start backend and db $ docker compose up -d -# This runs db-migrations (and,if necessary, start db) -# by implicitly enabling the profiles `tools` +# This runs db-migrations (and, if necessary, start db) +# by implicitly enabling the profiles "tools" $ docker compose run db-migrations ``` @@ -150,7 +150,7 @@ services: $ docker compose up -d # Start mock-backend (and, if necessary, db) -# by implicitly enabling profiles `dev` +# by implicitly enabling profiles "dev" $ docker compose up -d mock-backend # This fails because profiles "dev" is not enabled diff --git a/content/manuals/compose/how-tos/startup-order.md b/content/manuals/compose/how-tos/startup-order.md index e76deb4366..2234fff156 100644 --- a/content/manuals/compose/how-tos/startup-order.md +++ b/content/manuals/compose/how-tos/startup-order.md @@ -55,7 +55,7 @@ Compose waits for healthchecks to pass on dependencies marked with `service_heal `restart: true` ensures that if `db` is updated or restarted due to an explicit Compose operation, for example `docker compose restart`, the `web` service is also restarted automatically, ensuring it re-establishes connections or dependencies correctly. -The healthcheck for the `db` service uses the `pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}'` command to check if the PostgreSQL database is ready. The service is retried every 10 seconds, up to 5 times. +The healthcheck for the `db` service uses the `pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}` command to check if the PostgreSQL database is ready. The service is retried every 10 seconds, up to 5 times. Compose also removes services in dependency order. `web` is removed before `db` and `redis`.