fix: replace docker-compose with docker compose CLI (#22320)

## Description

Replace `docker-compose` with `docker compose` CLI in the Java and
Node.js guides to align with the latest Docker standards and ensure
consistency across the docs.

## Related issues or tickets

Closes #22319

<!-- Related issues, pull requests, or Jira tickets -->
This commit is contained in:
Bokyeom 2025-03-28 02:28:19 +09:00 committed by GitHub
parent 6724a52db7
commit d16a610c42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -204,7 +204,7 @@ services:
# start the database before your application. The `db-data` volume persists the
# database data between container restarts. The `db-password` secret is used
# to set the database password. You must create `db/password.txt` and add
# a password of your choosing to it before running `docker-compose up`.
# a password of your choosing to it before running `docker compose up`.
# depends_on:
# db:
# condition: service_healthy

View File

@ -141,7 +141,7 @@ services:
# start the database before your application. The `db-data` volume persists the
# database data between container restarts. The `db-password` secret is used
# to set the database password. You must create `db/password.txt` and add
# a password of your choosing to it before running `docker-compose up`.
# a password of your choosing to it before running `docker compose up`.
# depends_on:
# db:
# condition: service_healthy

View File

@ -58,7 +58,7 @@ You can use containers to set up local services, like a database. In this sectio
# start the database before your application. The `db-data` volume persists the
# database data between container restarts. The `db-password` secret is used
# to set the database password. You must create `db/password.txt` and add
# a password of your choosing to it before running `docker-compose up`.
# a password of your choosing to it before running `docker compose up`.
depends_on:
db:
@ -128,7 +128,7 @@ You can use containers to set up local services, like a database. In this sectio
# start the database before your application. The `db-data` volume persists the
# database data between container restarts. The `db-password` secret is used
# to set the database password. You must create `db/password.txt` and add
# a password of your choosing to it before running `docker-compose up`.
# a password of your choosing to it before running `docker compose up`.
depends_on:
db:
@ -188,7 +188,7 @@ You can use containers to set up local services, like a database. In this sectio
# start the database before your application. The `db-data` volume persists the
# database data between container restarts. The `db-password` secret is used
# to set the database password. You must create `db/password.txt` and add
# a password of your choosing to it before running `docker-compose up`.
# a password of your choosing to it before running `docker compose up`.
depends_on:
db: