I have been toying with the Ignition docker containers and haven't been able to find a way to configure an instance to run in redundant mode using environmental variables. I think automating redundancy setup will be useful in production where high availability is required and Ignition does not work with an active-active setup (as far as I know).
Does anyone know any existing solution or workaround?
I expect they mean docker.
What I think they're looking for is a way to automatically configure redundancy on 2 docker containers containing ignition gateways. Like, an environment variable that you could set on the main gateway's container to configure the IP of the backup gateway, and the other way around.
Take a look through these examples (which use the official image, btw)--you can integrate the data/redundancy.xml to bootstrap redundancy configuration on startup. The "Standard" example here has a redundant gateway that you can enable via a Compose profile:
yes, you summarized the intention perfectly. just realized what I originally posted is confusing.
I didn't find redundancy configurable in the unofficial image either. I make a feature request then. If I have to DIY the solution, do you know any bash script that will configure redundancy? That way I can run it after the container is brought up.