How to set up Cassandra Docker cluster in Marathon with BRIDGE network? How to set up Cassandra Docker cluster in Marathon with BRIDGE network? docker docker

How to set up Cassandra Docker cluster in Marathon with BRIDGE network?


When forming a cassandra cluster in bridge network mode below settinhs should be taken care.1. Set below values to host Ip (not container ip)

Seeds : public_ipBroadcast_address : public_ipBroadcast_rpc_address : public_ip

  1. Set listen_address to container Ip

Listen_address : 172.17.x.x

3 . Set rpc_address to 0.0.0.0 (don't use localhost)

This way we can actually form a Cassandra cluster using bridge network.

Give it a try. Make sure required ports should be accessible from outside world.