I am currently connecting to the Mysql database using a hardcoded IP address for the mysql container in the XBlocks.
This is not a great practice as every time the devstack is restarted the ip addresses change and I have to manually change the IP address in all the xblocks.
Is there a way to connect to the Mysql service using the hostname or dynamically retrieve the ip address in the xblocks. (This is preferable)
If not then secondly is there a way to have a fixed IP address everytime the devstack services start?