diff --git a/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose.yml b/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose.yml index 1f4e59baf36..33a748f818e 100755 --- a/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose.yml +++ b/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose.yml @@ -52,7 +52,7 @@ services: data-index: container_name: data-index - image: quay.io/kiegroup/kogito-data-index-infinispan-nightly:${KOGITO_VERSION} + image: quay.io/kiegroup/kogito-data-index-infinispan:${KOGITO_VERSION} ports: - "8180:8080" depends_on: diff --git a/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/docker-compose.yml b/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/docker-compose.yml index 3f042f6dbae..c191b1ec509 100644 --- a/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/docker-compose.yml +++ b/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/docker-compose.yml @@ -10,6 +10,8 @@ services: command: "/opt/infinispan/bin/server.sh -c infinispan-demo.xml" volumes: - ./infinispan/infinispan.xml:/opt/infinispan/server/conf/infinispan-demo.xml:z + - ./infinispan/users.properties:/opt/infinispan/server/conf/users.properties + - ./infinispan/groups.properties:/opt/infinispan/server/conf/groups.properties healthcheck: test: [ "CMD", "curl", "-f", "http://localhost:11222/rest/v2/cache-managers/default/health/status" ] interval: 1s @@ -81,6 +83,10 @@ services: - ./persistence/:/home/kogito/data/protobufs/ environment: QUARKUS_INFINISPAN_CLIENT_SERVER_LIST: infinispan:11222 + QUARKUS_INFINISPAN_CLIENT_USE_AUTH: "true" + QUARKUS_INFINISPAN_CLIENT_AUTH_USERNAME: admin + QUARKUS_INFINISPAN_CLIENT_AUTH_PASSWORD: admin + QUARKUS_INFINISPAN_CLIENT_SASL_MECHANISM: PLAIN KAFKA_BOOTSTRAP_SERVERS: kafka:29092 KOGITO_DATA_INDEX_PROPS: -Dkogito.protobuf.folder=/home/kogito/data/protobufs/ diff --git a/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/groups.properties b/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/groups.properties new file mode 100644 index 00000000000..ab26fdd51bb --- /dev/null +++ b/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/groups.properties @@ -0,0 +1 @@ +admin=admin \ No newline at end of file diff --git a/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/infinispan.xml b/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/infinispan.xml old mode 100755 new mode 100644 index c5899af9231..57862153e0a --- a/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/infinispan.xml +++ b/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/infinispan.xml @@ -13,15 +13,19 @@ - + - + + + + + - + \ No newline at end of file diff --git a/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/users.properties b/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/users.properties new file mode 100644 index 00000000000..ab26fdd51bb --- /dev/null +++ b/process-usertasks-with-security-oidc-quarkus-with-console/docker-compose/infinispan/users.properties @@ -0,0 +1 @@ +admin=admin \ No newline at end of file