diff --git a/compose/sample-apps.yml b/compose/sample-apps.yml index 0138b8ca3..e47c2ca7a 100644 --- a/compose/sample-apps.yml +++ b/compose/sample-apps.yml @@ -103,7 +103,18 @@ services: expose: - "9977" environment: - JAVA_OPTS_APPEND: "-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -javaagent:/deployments/app/cryostat-agent.jar" + JAVA_OPTS_APPEND: >- + -Dquarkus.http.host=0.0.0.0 + -Djava.util.logging.manager=org.jboss.logmanager.LogManager + -javaagent:/deployments/app/cryostat-agent.jar + -Dcom.sun.management.jmxremote.autodiscovery=false + -Dcom.sun.management.jmxremote + -Dcom.sun.management.jmxremote.port=22222 + -Dcom.sun.management.jmxremote.rmi.port=22222 + -Djava.rmi.server.hostname=quarkus-test-agent + -Dcom.sun.management.jmxremote.authenticate=false + -Dcom.sun.management.jmxremote.ssl=false + -Dcom.sun.management.jmxremote.local.only=false QUARKUS_HTTP_PORT: 10010 ORG_ACME_CRYOSTATSERVICE_ENABLED: "false" CRYOSTAT_AGENT_APP_NAME: quarkus-test-agent