From 011de17a4f1038cdf91e47e4574b5bb225347c7d Mon Sep 17 00:00:00 2001 From: DongYoon Kim <77170214+BusanGukbap@users.noreply.github.com> Date: Thu, 5 Nov 2026 02:10:35 +0900 Subject: [PATCH] docs: use consistent Compose filename in Java guide Signed-off-by: DongYoon Kim <77170214+BusanGukbap@users.noreply.github.com> --- content/guides/java.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/content/guides/java.md b/content/guides/java.md index b2958a107410..edb3bd331971 100644 --- a/content/guides/java.md +++ b/content/guides/java.md @@ -320,11 +320,11 @@ for the application you containerized in the previous section. This includes: ### Add a local database and persist data -You can use containers to set up local services, like a database. In this section, you'll update the `docker-compose.yaml` file to define a database service and a volume to persist data. Also, this particular application uses a system property to define the database type, so you'll need to update the `Dockerfile` to pass in the system property when starting the app. +You can use containers to set up local services, like a database. In this section, you'll update the `compose.yaml` file to define a database service and a volume to persist data. Also, this particular application uses a system property to define the database type, so you'll need to update the `Dockerfile` to pass in the system property when starting the app. -In the cloned repository's directory, open the `docker-compose.yaml` file in an IDE or text editor. Your Compose file has an example database service, but it'll require a few changes for your unique app. +In the cloned repository's directory, open the `compose.yaml` file in an IDE or text editor. Your Compose file has an example database service, but it'll require a few changes for your unique app. -In the `docker-compose.yaml` file, you need to do the following: +In the `compose.yaml` file, you need to do the following: - Uncomment all of the database instructions. You'll now use a database service instead of local storage for the data. @@ -342,7 +342,7 @@ In the `docker-compose.yaml` file, you need to do the following: overrides the default value defined in `spring-petclinic/src/main/resources/application-postgres.properties`. -The following is the updated `docker-compose.yaml` file. All comments have been removed. +The following is the updated `compose.yaml` file. All comments have been removed. ```yaml {hl_lines="7-29"} services: @@ -471,7 +471,7 @@ In the `Dockerfile` you added a new stage labeled `development` based on the `ex The current Compose file doesn't start your development container. To do that, you must update your Compose file to target the development stage. Also, update the port mapping of the server service to provide access for the debugger. -Open the `docker-compose.yaml` and add the following instructions into the file. +Open the `compose.yaml` and add the following instructions into the file. ```yaml {hl_lines=["5","8"]} services: @@ -617,8 +617,8 @@ Use Compose Watch to automatically update your running Compose services as you edit and save your code. For more details about Compose Watch, see [Use Compose Watch](/manuals/compose/how-tos/file-watch.md). -Open your `docker-compose.yaml` file in an IDE or text editor and then add the -Compose Watch instructions. The following is the updated `docker-compose.yaml` +Open your `compose.yaml` file in an IDE or text editor and then add the +Compose Watch instructions. The following is the updated `compose.yaml` file. ```yaml {hl_lines="14-17"}