This is an automated email from the ASF dual-hosted git repository.

mcimbalek pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 91b2f9156 [NO-ISSUE] replace legacy 'docker-compose' with 'docker 
compose' (#2113)
91b2f9156 is described below

commit 91b2f9156f3b54d2ebee0af6ad62e86e0ca63e94
Author: Martin Cimbalek <[email protected]>
AuthorDate: Mon Jun 30 16:25:21 2025 +0200

    [NO-ISSUE] replace legacy 'docker-compose' with 'docker compose' (#2113)
    
    NO-ISSUE: replace legacy 'docker-compose' with 'docker compose'
    
    
    Co-authored-by: Copilot <[email protected]>
---
 kogito-quarkus-examples/dmn-drools-quarkus-metrics/README.md      | 8 ++++----
 kogito-quarkus-examples/dmn-event-driven-quarkus/README.md        | 2 +-
 .../kogito-travel-agency/extended/travels/README.md               | 4 ++--
 .../kogito-travel-agency/extended/visas/README.md                 | 4 ++--
 kogito-quarkus-examples/pmml-event-driven-quarkus/README.md       | 2 +-
 .../process-instance-migration-quarkus/docker-compose/README.md   | 2 +-
 .../docker-compose/startServices.sh                               | 2 +-
 .../process-kafka-persistence-quarkus/README.md                   | 2 +-
 kogito-quarkus-examples/process-monitoring-quarkus/README.md      | 6 +++---
 kogito-quarkus-examples/process-outbox-mongodb-quarkus/README.md  | 4 ++--
 .../process-outbox-mongodb-quarkus/docker-clean.sh                | 4 ++--
 .../process-postgresql-persistence-quarkus/README.md              | 2 +-
 kogito-quarkus-examples/ruleunit-event-driven-quarkus/README.md   | 2 +-
 .../dmn-drools-springboot-metrics/README.md                       | 8 ++++----
 kogito-springboot-examples/dmn-event-driven-springboot/README.md  | 2 +-
 kogito-springboot-examples/pmml-event-driven-springboot/README.md | 2 +-
 .../process-monitoring-springboot/README.md                       | 2 +-
 .../process-outbox-mongodb-springboot/README.md                   | 4 ++--
 .../process-outbox-mongodb-springboot/docker-clean.sh             | 4 ++--
 .../process-postgresql-persistence-springboot/README.md           | 4 ++--
 .../ruleunit-event-driven-springboot/README.md                    | 2 +-
 21 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/README.md 
b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/README.md
index 68117c2d7..ac1c470d9 100644
--- a/kogito-quarkus-examples/dmn-drools-quarkus-metrics/README.md
+++ b/kogito-quarkus-examples/dmn-drools-quarkus-metrics/README.md
@@ -10,7 +10,7 @@ You will need:
   - Java 17+ installed 
   - Environment variable JAVA_HOME set accordingly
   - Maven 3.9.6+ installed
-  - Docker 19+ (only if you want to run the integration tests and/or you want 
to use the `docker-compose` script provided in this example).
+  - Docker 19+ (only if you want to run the integration tests and/or you want 
to use the `docker compose` script provided in this example).
   
 ### How to enable the feature
 
@@ -63,9 +63,9 @@ Custom dashboards will be available in the grafana panel, 
together with auto-gen
 
 ### Compile and Run in Local Dev Mode
 
-It is possible to use `docker-compose` to demonstrate how to inject the 
generated dashboards in the volume of the grafana container:
+It is possible to use `docker compose` to demonstrate how to inject the 
generated dashboards in the volume of the grafana container:
 1. Run `mvn clean package` to build the project and generate dashboards. A 
docker image tagged 
`org.kie.kogito.examples/dmn-drools-quarkus-metrics-example:1.0` will be built 
(docker must be installed on your system).
-2. Run `docker-compose up` to start the applications. 
+2. Run `docker compose up` to start the applications. 
 
 The volumes of the grafana container are properly set in the 
`docker-compose.yml` file, so that the dashboards are properly loaded at 
startup.
 
@@ -99,4 +99,4 @@ curl -X POST 'http://localhost:8080/LoanEligibility' -H 
'Content-Type: applicati
 
 the service will return the decision results.  
 
-If you are using the `docker-compose` script we provided, go to 
`localhost:3000` and have a look at your dashboards.
+If you are using the `docker compose` script we provided, go to 
`localhost:3000` and have a look at your dashboards.
diff --git a/kogito-quarkus-examples/dmn-event-driven-quarkus/README.md 
b/kogito-quarkus-examples/dmn-event-driven-quarkus/README.md
index 97b21f8d0..b615516af 100644
--- a/kogito-quarkus-examples/dmn-event-driven-quarkus/README.md
+++ b/kogito-quarkus-examples/dmn-event-driven-quarkus/README.md
@@ -66,7 +66,7 @@ There's a useful [docker-compose.yml](docker-compose.yml) in 
the root that start
 Simply start it with this command from the root of the repo:
 
 ```
-docker-compose up -d
+docker compose up -d
 ```
 
 Once everything is started you can check the data contained in your small 
Kafka instance via [Kafdrop](https://github.com/obsidiandynamics/kafdrop) at 
`http://localhost:9000/`.
diff --git 
a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/README.md 
b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/README.md
index 9109ed67e..42e2d2adb 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/README.md
+++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/README.md
@@ -152,9 +152,9 @@ Once all services bootstrap, the following ports will be 
assigned on your local
 
 > **_NOTE:_**  This step requires the project to be compiled, please consider 
 > running a ```mvn clean install``` command on the project root before running 
 > the ```startServices.sh``` script for the first time or any time you modify 
 > the project.
 
-Once started you can simply stop all services by executing the 
```docker-compose stop```.
+Once started you can simply stop all services by executing the ```docker 
compose stop```.
 
-All created containers can be removed by executing the ```docker-compose rm```.
+All created containers can be removed by executing the ```docker compose rm```.
 
 ### Using Keycloak as Authentication Server
 
diff --git 
a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/README.md 
b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/README.md
index d40dfbbf2..c613c12cd 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/README.md
+++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/README.md
@@ -98,9 +98,9 @@ Once all services bootstrap, the following ports will be 
assigned on your local
 
 > **_NOTE:_**  This step requires the project to be compiled, please consider 
 > running a ```mvn clean install``` command on the project root before running 
 > the ```startServices.sh``` script for the first time or any time you modify 
 > the project.
 
-Once started you can simply stop all services by executing the 
```docker-compose stop```.
+Once started you can simply stop all services by executing the ```docker 
compose stop```.
 
-All created containers can be removed by executing the ```docker-compose rm```.
+All created containers can be removed by executing the ```docker compose rm```.
 
 ### Using Keycloak as Authentication Server
 
diff --git a/kogito-quarkus-examples/pmml-event-driven-quarkus/README.md 
b/kogito-quarkus-examples/pmml-event-driven-quarkus/README.md
index b8f1e5baa..765c3cf69 100644
--- a/kogito-quarkus-examples/pmml-event-driven-quarkus/README.md
+++ b/kogito-quarkus-examples/pmml-event-driven-quarkus/README.md
@@ -66,7 +66,7 @@ There's a useful [docker-compose.yml](docker-compose.yml) in 
the root that start
 Simply start it with this command from the root of the repo:
 
 ```
-docker-compose up -d
+docker compose up -d
 ```
 
 Once everything is started you can check the data contained in your small 
Kafka instance via [Kafdrop](https://github.com/obsidiandynamics/kafdrop) at 
`http://localhost:9000/`.
diff --git 
a/kogito-quarkus-examples/process-instance-migration-quarkus/docker-compose/README.md
 
b/kogito-quarkus-examples/process-instance-migration-quarkus/docker-compose/README.md
index de3b95918..10d3652a4 100644
--- 
a/kogito-quarkus-examples/process-instance-migration-quarkus/docker-compose/README.md
+++ 
b/kogito-quarkus-examples/process-instance-migration-quarkus/docker-compose/README.md
@@ -43,5 +43,5 @@ to stop the services and remove the containers.
 For more details please check the Docker Compose documentation.
 
 ```shell
-docker-compose --help
+docker compose --help
 ```
diff --git 
a/kogito-quarkus-examples/process-instance-migration-quarkus/docker-compose/startServices.sh
 
b/kogito-quarkus-examples/process-instance-migration-quarkus/docker-compose/startServices.sh
index 61ceb7861..6aed0f256 100755
--- 
a/kogito-quarkus-examples/process-instance-migration-quarkus/docker-compose/startServices.sh
+++ 
b/kogito-quarkus-examples/process-instance-migration-quarkus/docker-compose/startServices.sh
@@ -16,7 +16,7 @@ case $PROJECT_VERSION in
 esac
 
 if [ -n "$1" ]; then
-  if [ $1 = "infra" -o $1 = "example" ];
+  if [ "$1" = "infra" -o "$1" = "example" ];
   then
     PROFILE="$1"
   else
diff --git 
a/kogito-quarkus-examples/process-kafka-persistence-quarkus/README.md 
b/kogito-quarkus-examples/process-kafka-persistence-quarkus/README.md
index 650b42c90..957e11f45 100644
--- a/kogito-quarkus-examples/process-kafka-persistence-quarkus/README.md
+++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/README.md
@@ -66,7 +66,7 @@ https://kafka.apache.org/quickstart
 
 Alternatively, you can use the provided Docker Compose file in 
src/main/docker. To get Kafka started in the localhost port 9092, simply run:
 ```sh
-docker-compose up
+docker compose up
 ```
 
 ## Build and run
diff --git a/kogito-quarkus-examples/process-monitoring-quarkus/README.md 
b/kogito-quarkus-examples/process-monitoring-quarkus/README.md
index fe99962ad..7b70089c0 100644
--- a/kogito-quarkus-examples/process-monitoring-quarkus/README.md
+++ b/kogito-quarkus-examples/process-monitoring-quarkus/README.md
@@ -11,7 +11,7 @@ You will need:
 - Java 17+ installed
 - Environment variable JAVA_HOME set accordingly
 - Maven 3.9.6+ installed
-- Docker 19+ (only if you want to run the integration tests and/or you want to 
use the `docker-compose` script provided in this example).
+- Docker 19+ (only if you want to run the integration tests and/or you want to 
use the `docker compose` script provided in this example).
 
 ### How to enable the feature
 
@@ -53,10 +53,10 @@ You can use these default dashboards, or you can 
personalize them and use your c
 
 ### Compile and Run in Local Dev Mode
 
-It is possible to use `docker-compose` to demonstrate how to inject the 
generated dashboards in the volume of the Grafana container:
+It is possible to use `docker compose` to demonstrate how to inject the 
generated dashboards in the volume of the Grafana container:
 
 1. Run `mvn clean package` to build the project and generate dashboards.
-2. Run `docker-compose up` to start the applications.
+2. Run `docker compose up` to start the applications.
 
 The volumes of the Grafana container are properly set in the 
`docker-compose.yml` file, so that the dashboards are automatically loaded at 
startup.
 
diff --git a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/README.md 
b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/README.md
index 8d79623eb..79daa35b9 100644
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/README.md
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/README.md
@@ -17,7 +17,7 @@ mvn clean package
 
 2. Deploy Kogito App, MongoDB, Debezium and Kafka
 ```shell
-docker-compose up
+docker compose up
 ```
 
 3. Check if Debezium is in `RUNNING` state
@@ -40,7 +40,7 @@ curl -d '{"approver" : "john", "order" : {"orderNumber" : 
"12345", "shipped" : f
 
 7. Shut down the cluster
 ```shell
-docker-compose down
+docker compose down
 ```
 
 ## Kogito App Example Usage
diff --git 
a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/docker-clean.sh 
b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/docker-clean.sh
index 92447e930..78d91d0b5 100755
--- a/kogito-quarkus-examples/process-outbox-mongodb-quarkus/docker-clean.sh
+++ b/kogito-quarkus-examples/process-outbox-mongodb-quarkus/docker-clean.sh
@@ -20,8 +20,8 @@
 
 # Helper script to remove any cache from previous build
 
-docker-compose stop
-docker-compose rm
+docker compose stop
+docker compose rm
 docker rmi kogito/outbox/quarkus/sidecar
 docker rmi org.kie.kogito.examples/process-outbox-mongodb-quarkus:1.0
 docker rmi kogito/outbox/quarkus/mongodb
diff --git 
a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/README.md 
b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/README.md
index 5fee2fa88..c598a8c5a 100644
--- a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/README.md
+++ b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/README.md
@@ -69,7 +69,7 @@ For more details you can check 
[applications.properties](src/main/resources/appl
 Optionally and for convenience, a docker-compose [configuration 
file](docker-compose/docker-compose.yml) is
  provided in the path [docker-compose/](docker-compose/), where you can just 
run the command from there:
   ```sh
-  docker-compose up
+  docker compose up
   ```  
   In this way a container for PostgreSQL running on port 5432, along with 
PgAdmin, running on port
    8055 to allow the database management.
diff --git a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/README.md 
b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/README.md
index b73807e27..d4c3ef0db 100644
--- a/kogito-quarkus-examples/ruleunit-event-driven-quarkus/README.md
+++ b/kogito-quarkus-examples/ruleunit-event-driven-quarkus/README.md
@@ -66,7 +66,7 @@ There's a useful [docker-compose.yml](docker-compose.yml) in 
the root that start
 Simply start it with this command from the root of the repo:
 
 ```
-docker-compose up -d
+docker compose up -d
 ```
 
 Once everything is started you can check the data contained in your small 
Kafka instance via [Kafdrop](https://github.com/obsidiandynamics/kafdrop) at 
`http://localhost:9000/`.
diff --git a/kogito-springboot-examples/dmn-drools-springboot-metrics/README.md 
b/kogito-springboot-examples/dmn-drools-springboot-metrics/README.md
index c3ba3e7d9..8848d8a1a 100644
--- a/kogito-springboot-examples/dmn-drools-springboot-metrics/README.md
+++ b/kogito-springboot-examples/dmn-drools-springboot-metrics/README.md
@@ -10,7 +10,7 @@ You will need:
   - Java 11+ installed 
   - Environment variable JAVA_HOME set accordingly
   - Maven 3.8.6+ installed
-  - Docker 19+ (only if you want to run the integration tests and/or you want 
to use the `docker-compose` script provided in this example).
+  - Docker 19+ (only if you want to run the integration tests and/or you want 
to use the `docker compose` script provided in this example).
 
 ### How to enable the feature
 
@@ -63,9 +63,9 @@ Custom dashboards will be available in the grafana panel, 
together with auto-gen
 
 ### Compile and Run in Local Dev Mode
 
-It is possible to use `docker-compose` to demonstrate how to inject the 
generated dashboards in the volume of the grafana container:
+It is possible to use `docker compose` to demonstrate how to inject the 
generated dashboards in the volume of the grafana container:
 1. Run `mvn clean package -Dcontainer` to build the project and generate 
dashboards.  A docker image tagged 
`org.kie.kogito.examples/dmn-drools-springboot-metrics-example:1.0` will be 
built (docker must be installed on your system).
-2. Run `docker-compose up` to start the applications. 
+2. Run `docker compose up` to start the applications. 
 
 The volumes of the grafana container are properly set in the 
`docker-compose.yml` file, so that the dashboards are properly loaded at 
startup.
 
@@ -99,4 +99,4 @@ curl -X POST 'http://localhost:8080/LoanEligibility' -H 
'Content-Type: applicati
 
 the service will return the decision results.  
 
-If you are using the `docker-compose` script we provided, go to 
`localhost:3000` and have a look at your dashboards.
+If you are using the `docker compose` script we provided, go to 
`localhost:3000` and have a look at your dashboards.
diff --git a/kogito-springboot-examples/dmn-event-driven-springboot/README.md 
b/kogito-springboot-examples/dmn-event-driven-springboot/README.md
index 797290755..61a904af2 100644
--- a/kogito-springboot-examples/dmn-event-driven-springboot/README.md
+++ b/kogito-springboot-examples/dmn-event-driven-springboot/README.md
@@ -55,7 +55,7 @@ There's a useful [docker-compose.yml](docker-compose.yml) in 
the root that start
 Simply start it with this command from the root of the repo:
 
 ```
-docker-compose up -d
+docker compose up -d
 ```
 
 Once everything is started you can check the data contained in your small 
Kafka instance via [Kafdrop](https://github.com/obsidiandynamics/kafdrop) at 
`http://localhost:9000/`.
diff --git a/kogito-springboot-examples/pmml-event-driven-springboot/README.md 
b/kogito-springboot-examples/pmml-event-driven-springboot/README.md
index 33a1fd3cc..37f16b573 100644
--- a/kogito-springboot-examples/pmml-event-driven-springboot/README.md
+++ b/kogito-springboot-examples/pmml-event-driven-springboot/README.md
@@ -55,7 +55,7 @@ There's a useful [docker-compose.yml](docker-compose.yml) in 
the root that start
 Simply start it with this command from the root of the repo:
 
 ```
-docker-compose up -d
+docker compose up -d
 ```
 
 Once everything is started you can check the data contained in your small 
Kafka instance via [Kafdrop](https://github.com/obsidiandynamics/kafdrop) at 
`http://localhost:9000/`.
diff --git a/kogito-springboot-examples/process-monitoring-springboot/README.md 
b/kogito-springboot-examples/process-monitoring-springboot/README.md
index e27a9cdae..54f3903e7 100644
--- a/kogito-springboot-examples/process-monitoring-springboot/README.md
+++ b/kogito-springboot-examples/process-monitoring-springboot/README.md
@@ -56,7 +56,7 @@ You can use these default dashboards, or you can personalize 
them and use your c
 It is possible to use `docker-compose` to demonstrate how to inject the 
generated dashboards in the volume of the Grafana container:
 
 1. Run `mvn clean package` to build the project and generate dashboards.
-2. Run `docker-compose up` to start the applications.
+2. Run `docker compose up` to start the applications.
 
 The volumes of the Grafana container are properly set in the 
`docker-compose.yml` file, so that the dashboards are automatically loaded at 
startup.
 
diff --git 
a/kogito-springboot-examples/process-outbox-mongodb-springboot/README.md 
b/kogito-springboot-examples/process-outbox-mongodb-springboot/README.md
index 82624b5d8..e590727d9 100644
--- a/kogito-springboot-examples/process-outbox-mongodb-springboot/README.md
+++ b/kogito-springboot-examples/process-outbox-mongodb-springboot/README.md
@@ -17,7 +17,7 @@ mvn clean package -Dcontainer
 
 2. Deploy Kogito App, MongoDB, Debezium and Kafka
 ```shell
-docker-compose up
+docker compose up
 ```
 
 3. Check if Debezium is in `RUNNING` state
@@ -40,7 +40,7 @@ curl -d '{"approver" : "john", "order" : {"orderNumber" : 
"12345", "shipped" : f
 
 7. Shut down the cluster
 ```shell
-docker-compose down
+docker compose down
 ```
 
 ## Kogito App Example Usage
diff --git 
a/kogito-springboot-examples/process-outbox-mongodb-springboot/docker-clean.sh 
b/kogito-springboot-examples/process-outbox-mongodb-springboot/docker-clean.sh
index 2cc73b866..5ce48c108 100755
--- 
a/kogito-springboot-examples/process-outbox-mongodb-springboot/docker-clean.sh
+++ 
b/kogito-springboot-examples/process-outbox-mongodb-springboot/docker-clean.sh
@@ -20,8 +20,8 @@
 
 # Helper script to remove any cache from previous build
 
-docker-compose stop
-docker-compose rm
+docker compose stop
+docker compose rm
 docker rmi kogito/outbox/springboot/sidecar
 docker rmi org.kie.kogito.examples/process-outbox-mongodb-springboot:1.0
 docker rmi kogito/outbox/springboot/mongodb
diff --git 
a/kogito-springboot-examples/process-postgresql-persistence-springboot/README.md
 
b/kogito-springboot-examples/process-postgresql-persistence-springboot/README.md
index af01fad76..930c31749 100644
--- 
a/kogito-springboot-examples/process-postgresql-persistence-springboot/README.md
+++ 
b/kogito-springboot-examples/process-postgresql-persistence-springboot/README.md
@@ -67,9 +67,9 @@ property `kogito.persistence.auto.ddl=true`.
 For more details you can check 
[applications.properties](src/main/resources/application.properties).
 
 Optionally and for convenience, a docker-compose [configuration 
file](docker-compose/docker-compose.yml) is
- provided in the path [docker-compose/](docker-compose/), where you can just 
run the command from there:
+ provided in the path [docker compose/](docker-compose/), where you can just 
run the command from there:
   ```sh
-  docker-compose up
+  docker compose up
   ```  
   In this way a container for PostgreSQL running on port 5432, along with 
PgAdmin, running on port
    8055 to allow the database management.
diff --git 
a/kogito-springboot-examples/ruleunit-event-driven-springboot/README.md 
b/kogito-springboot-examples/ruleunit-event-driven-springboot/README.md
index 7eeec7d62..1d717642a 100644
--- a/kogito-springboot-examples/ruleunit-event-driven-springboot/README.md
+++ b/kogito-springboot-examples/ruleunit-event-driven-springboot/README.md
@@ -55,7 +55,7 @@ There's a useful [docker-compose.yml](docker-compose.yml) in 
the root that start
 Simply start it with this command from the root of the repo:
 
 ```
-docker-compose up -d
+docker compose up -d
 ```
 
 Once everything is started you can check the data contained in your small 
Kafka instance via [Kafdrop](https://github.com/obsidiandynamics/kafdrop) at 
`http://localhost:9000/`.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to