Hi Marko,

the docker-run.sh doesn't create a new instance if the
/var/lib/artemis-instance/etc/broker.xml file exists. This means that you
need to provide a complete broker instance or to change the broker instance
created by the artemis container.

I have already answered a similar question on stackoverflow, for further
details see
https://stackoverflow.com/questions/75493917/how-to-customize-the-broker-xml-file-in-the-standard-apache-activemq-artemis-doc/75495670#75495670

Regards,
Domenico

On Thu, 9 Mar 2023 at 11:04, Marko Lazić <zila...@gmail.com> wrote:

> Hello!
>
>
> I’ve built Artemis 2.19.0 image from apache/activemq-artemis: Mirror of
> Apache ActiveMQ Artemis (github.com) <
> https://github.com/apache/activemq-artemis>. I have problem with
> configuring the broker.xml file on Docker. I want maybe to define some
> addresses, queues and change some address settings. My intuitive try was to
> mount a /var/lib/artemis-instance/etc/broker.xml but I've got an error on
> container startup that the artemis executable does not exist, as mounting
> prevents it from creating. The activemq-artemis/artemis-docker has a
> Mapping point section but it mentions that you can mount the whole instance
> via /var/lib/artemis-instance. I just want to change only few lines in the
> broker.xml file. Is there a way to to mount only my custom broker.xml file
> on startup?
>
>
>
> Kind regards
> Marko

Reply via email to