Hi,
I would like to run 3 node instance of scylladb on my MAC. I have an application which needs to connect to 3 instances(nodes) of scylla at 3 different IP address and on the same port 9042.
I use these commands to spawn my 3 docker instances:
# docker run --name scylla1 -d scylladb/scylla
# docker run --name scylla2 -d scylladb/scylla --seeds="$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' scylla1)"
# docker run --name scylla3 -d scylladb/scylla --seeds="$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' scylla1)"
If I expose the port 9042 using -p 9042:9042 it exposes the port on 127.0.0.1, so I cannot expose ports from other 2 scylla instances on the same port and ip. Can I have the other 2 scylla instances expose ports 9042 on 127.0.0.2 and 127.0.0.3 respectively.
Any comments on how I can go about doing this.
-Sid