diff --git a/packages/extended-services-java/README.md b/packages/extended-services-java/README.md index f1a9629577d..c809e2c0ca1 100644 --- a/packages/extended-services-java/README.md +++ b/packages/extended-services-java/README.md @@ -11,8 +11,8 @@ You can run it on developement mode: ## Parameters - +- `-Dquarkus.http.host=` : Sets the Quarkus app host, the default value is `0.0.0.0`. +- `-Dquarkus.http.port=` : Sets the Quarkus app port, the default value is `21345`. ### API diff --git a/packages/extended-services-java/env/index.js b/packages/extended-services-java/env/index.js index 9100cc450a5..b53ded06d18 100644 --- a/packages/extended-services-java/env/index.js +++ b/packages/extended-services-java/env/index.js @@ -24,7 +24,7 @@ module.exports = composeEnv([require("@kie-tools/root-env/env")], { EXTENDED_SERVICES_JAVA__host: { default: "0.0.0.0", description: - "Quarkus HTTP Host. Configures the IP address or host to which a Quarkus application binds for incoming HTTP requests,", + "Quarkus HTTP Host. Configures the IP address or host to which a Quarkus application binds for incoming HTTP requests.", }, EXTENDED_SERVICES_JAVA__port: { default: "21345", diff --git a/packages/extended-services-java/src/main/resources/application.properties b/packages/extended-services-java/src/main/resources/application.properties index 180d2b6563b..bc24fbe3520 100644 --- a/packages/extended-services-java/src/main/resources/application.properties +++ b/packages/extended-services-java/src/main/resources/application.properties @@ -17,5 +17,6 @@ quarkus.http.cors=true quarkus.http.cors.origins=/.*/ +quarkus.devservices.enabled=false extendedServicesJava.version=${project.version} \ No newline at end of file diff --git a/packages/kie-sandbox-extended-services-image/Containerfile b/packages/kie-sandbox-extended-services-image/Containerfile index 7912315e4be..c56b32f831a 100644 --- a/packages/kie-sandbox-extended-services-image/Containerfile +++ b/packages/kie-sandbox-extended-services-image/Containerfile @@ -23,11 +23,6 @@ ARG EXTENDED_SERVICES_DEFAULT_PORT ENV EXTENDED_SERVICES_HOST=$EXTENDED_SERVICES_DEFAULT_HOST ENV EXTENDED_SERVICES_PORT=$EXTENDED_SERVICES_DEFAULT_PORT -RUN echo EXTENDED_SERVICES_DEFAULT_HOST: $EXTENDED_SERVICES_DEFAULT_HOST -RUN echo EXTENDED_SERVICES_DEFAULT_PORT: $EXTENDED_SERVICES_DEFAULT_PORT -RUN echo EXTENDED_SERVICES_HOST: $EXTENDED_SERVICES_HOST -RUN echo EXTENDED_SERVICES_PORT: $EXTENDED_SERVICES_PORT - RUN mkdir kie-sandbox COPY --chown=1000:0 dist-dev/kie_sandbox_extended_services /kie-sandbox/kie_sandbox_extended_services diff --git a/packages/kie-sandbox-extended-services-image/README.md b/packages/kie-sandbox-extended-services-image/README.md index 9a9666b8602..8eb3353978e 100644 --- a/packages/kie-sandbox-extended-services-image/README.md +++ b/packages/kie-sandbox-extended-services-image/README.md @@ -61,8 +61,10 @@ The service will be up at http://localhost:21345 If you need to change port or Host/IP, use the following parameters: +```bash EXTENDED_SERVICES_HOST (Defaults to 0.0.0.0) EXTENDED_SERVICES_PORT (Defaults to 21345) +``` For example: