I’m running a new Axon Server via docker-compose. In previous versions, the standard edition was initialized automatically. However, with the 2023.1.0 version, I have to initialize a single node via UI manually.
There are properties you can set to make Axon Server initialize itself immediately on first start. These are:
axoniq.axonserver.autocluster.first=
axoniq.axonserver.autocluster.contexts=default
You can add these to the axonserver.properties or add them as environment properties.
We will also evaluate how to improve this workflow in future releases.
Thank you. It makes perfect sense after reviewing the old EE version documentation about auto-clustering. Tnx again, it works great
If you are looking to improve the workflow, I think it will be enough just to include small sections with appropriate configurations for running in the standard and enterprise modes in the docker hub image description. Since previously I didn’t work with the EE version, I was unfamiliar with those properties.
We have released 2023.1.1 with a change to simplify this and resolve issue:
2023.1.1 Update:
To simplify initialization of Axon Server, it now supports a new property “axoniq.axonserver.standalone=true”. When this property is set on a clean Axon Server instance it initializes the server with a “default” context.