Hi,
I am trying to get infinispan cache (explicitly with keycloak) working in a three node nomad cluster. This is based on JBoss and has several network configurations, but it seems the cache port needs to be reachable from the nomad host so the other services can reach it. My normal approach would be to add a static port and voila. The problem is that I cant get Jboss to bind its Jgroup in the container.
The parameters I can pass looks like this:
AVA_OPTS_APPEND="-Djgroups.external_addr=${attr.unique.network.ip-address} -Djgroups.bind_addr=127.0.0.1"
In my case the problem is that I need to make jgroups.bind_addr
available from outside. I tried multiple ways to get the containers ip address (I believe it does not have one, but please let me know if I am wrong) where I can bind the jboss on. It seems I cannot bind it to 0.0.0.0.
Anyone got this working in a nomad cluster (in EC2)?
Thanks,
bert