Thanks a lot for your quick response! I've setup a minimal environment, see below.
- Right after I shutdown container
rabbitmq-02, I see a screen like you.
- After
hitting refresh in the browser or changing from "overview" to "queues", the screen stays blank for a minute or so. After that the page is displayed correctly.
Is there a time out or similar, that I have to configure?
Regards, Thomas
docker-compose.yml:
################
version: "3.7"
services:
rabbitmq-01:
image: rabbitmq:3.12-management
hostname: rabbitmq-01
container_name: rabbitmq-01
environment:
- RABBITMQ_ERLANG_COOKIE=IYCmrT+iyYdLeNSEO/H14B==
- RABBITMQ_CONFIG_FILE=/config/rabbitmq
volumes:
- /home/pat/src/docker/rabbitmq/rabbitmq-01:/config
ports:
- "5672:5672"
- "15672:15672"
rabbitmq-02:
image: rabbitmq:3.12-management
hostname: rabbitmq-02
container_name: rabbitmq-02
environment:
- RABBITMQ_ERLANG_COOKIE=IYCmrT+iyYdLeNSEO/H14B==
- RABBITMQ_CONFIG_FILE=/config/rabbitmq
volumes:
- /home/pat/src/docker/rabbitmq/rabbitmq-02:/config
rabbitmq.conf (both files
identical for each nodes)
###########
loopback_users.guest = true
cluster_formation.peer_discovery_backend = rabbit_peer_discovery_classic_config
cluster_formation.classic_config.nodes.1 = rabbit@rabbitmq-01
cluster_formation.classic_config.nodes.2 = rabbit@rabbitmq-02