porcelli commented on code in PR #2391: URL: https://github.com/apache/incubator-kie-tools/pull/2391#discussion_r1622943701
########## examples/jbpm-compact-architecture-example/docker-compose/README.md: ########## @@ -0,0 +1,63 @@ +# Kogito and Infrastructure services + +To allow a quick setup of all services required to run this demo, we provide a docker compose template that starts the following services: + +- Postgresql +- PgAdmin +- Kogito Data Index Review Comment: remove this reference! ########## examples/jbpm-compact-architecture-example/docker-compose/README.md: ########## @@ -0,0 +1,63 @@ +# Kogito and Infrastructure services + +To allow a quick setup of all services required to run this demo, we provide a docker compose template that starts the following services: + +- Postgresql +- PgAdmin +- Kogito Data Index +- Kogito Example Service (Only available if the example has been compiled using the `container` mvn profile eg: `mvn cleanp package -Dcontainer`) +- Kogito Management Console +- Kogito Task Console +- Keycloak + +The docker compose template provides three profiles to enable starting only the set of services you want to use. The profiles are: + +- **infra**: Starts only the minimal infrastructure to run the example (Postgresql, pgadmin, Kogito Data Index) +- **example**: Starts the services in _infra_ profile and the Kogito Example Service. Requires the example to be compiled using the `container` mvn profile eg: `mvn cleanp package -Dcontainer`. +- **full** (default): includes all the above and also starts the **Management Console**, **Task Console** and a **Keycloak** to handle the consoles authentication. Requires the example to be compiled using the `container` mvn profile eg: `mvn cleanp package -Dcontainer`. + +> NOTE: In order to use it, please ensure you have Docker Compose installed on your machine, otherwise follow the instructions available +> in [here](https://docs.docker.com/compose/install/). + +## Starting the services + +Use the `startServices.sh` passing the docker profile you want to use as an argument. If no profile is provided the script will default to **full**. + +Eg: + +```shell +sh startServices.sh example +``` + +Once the services are started (depending on the profile), the following ports will be assigned on your local machine: + +- Postgresql: 5432 +- PgAdmin: 8055 +- Kogito Data Index: 8180 Review Comment: remove this reference! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
