You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dots are not available as RABBITMQ_NODENAME.
but, on Mac, $(hostname) is like "chytonpide_mac.local" as a default.
(There is a very high probability that the hostname contains a dot, even if it is a different system.)
I think it is unnecessary to use the "RABBITMQ_NODENAME" environment variable.
So I suggest deleting the "RABBITMQ_NODENAME" environment variable on the line that runs the RabbitMQ container or using a static node name that does not include dots.
SQLs execution fails after starting MySQL container because MySQL server is not ready.
As soon as the container is ready, SQLs are executed. But, executions fail because the Mysql server is not prepared even if the container is ready.
I suggest having a delay after the container is ready.
waitForContainer "${mysqlContainerName}" "mysqld: ready for connections."
sleep 30
Not the best solution, but it works and is simple :)
Using docker-compose
I suggest replacing the setup script with docker-compose.
I think it makes the setup process easier to maintain. it also could be used in Windows systems.
The docker-compose is included in Docker for Mac and Docker for Windows installer.
So there is no need for other installation processes for this.
The text was updated successfully, but these errors were encountered:
Starting rabbitMQ container fails on Mac because of the invalid node name.
startContainers.sh
use hostname as RABBITMQ_NODENAME.Dots are not available as RABBITMQ_NODENAME.
but, on Mac, $(hostname) is like "chytonpide_mac.local" as a default.
(There is a very high probability that the hostname contains a dot, even if it is a different system.)
I think it is unnecessary to use the "RABBITMQ_NODENAME" environment variable.
So I suggest deleting the "RABBITMQ_NODENAME" environment variable on the line that runs the RabbitMQ container or using a static node name that does not include dots.
SQLs execution fails after starting MySQL container because MySQL server is not ready.
As soon as the container is ready, SQLs are executed. But, executions fail because the Mysql server is not prepared even if the container is ready.
I suggest having a delay after the container is ready.
Not the best solution, but it works and is simple :)
Using docker-compose
I suggest replacing the setup script with docker-compose.
I think it makes the setup process easier to maintain. it also could be used in Windows systems.
The docker-compose is included in Docker for Mac and Docker for Windows installer.
So there is no need for other installation processes for this.
The text was updated successfully, but these errors were encountered: