Docker environment: RabbitMQ data not saved correctly
In our Docker environment (docker-compose.yml) the disk data created by RabbitMQ is not saved correctly. Every time the Docker Compose stack is started, a new hostname will be created for each container. RabbitMQ creates a cluster based on this dynamic hostname and saves all data using the cluster name (which is based on the hostname). So on every startup, a new RabbitMQ cluster will be created, which results in having a lot of rubbish on the disk.
We should set a static hostname for each docker container in the Compose stack.