Closed
Description
hey,
i tried to configure the consul_discovery plugin.
I added those lines to a local rabbitmq.conf and mounted this file as a Volume to my docker Container.
rabbitmq:
image: rabbitmq:3.7
volumes:
#- ${PWD}/rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
- ${PWD}/rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins
- rabbitmq:/var/lib/rabbitmq
cluster_formation.peer_discovery_backend = rabbit_peer_discovery_consul
cluster_formation.consul.host = consul
cluster_formation.node_cleanup.only_log_warning = true
cluster_formation.consul.svc_addr_auto = true
cluster_partition_handling = autoheal
that brings me to this:
sed: can't move '/etc/rabbitmq/rabbitmq.confDMidAB' to '/etc/rabbitmq/rabbitmq.conf': Resource busy
i also tried to set the config with some environment variables:
environment:
- RABBITMQ_VM_MEMORY_HIGH_WATERMARK=0.25
- RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS="-cluster_formation peer_discovery_backend rabbit_peer_discovery_consul
-cluster_formation consul.host consul
-cluster_formation node_cleanup.only_log_warning true"
but it does not work too :-( maybe any one can help me a little bit?
Thanks
Metadata
Metadata
Assignees
Labels
No labels