From 4b1bdca7627c312d0de10bf8fc713ed251457f31 Mon Sep 17 00:00:00 2001 From: k-kbk Date: Sun, 13 Apr 2025 19:54:47 +0900 Subject: [PATCH 1/2] Fix minor typos --- content/manuals/compose/how-tos/profiles.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/manuals/compose/how-tos/profiles.md b/content/manuals/compose/how-tos/profiles.md index 9f745510b94b..5d90153606b1 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 From 00b4c45abfd5733b5febf630c7ffd0ed5f1675d2 Mon Sep 17 00:00:00 2001 From: k-kbk Date: Sun, 13 Apr 2025 20:00:17 +0900 Subject: [PATCH 2/2] Remove single quote --- 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 e76deb436692..2234fff15690 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`.