Currently, we include copies of the Resin configuration files in the CARGO Resin container. That's not very good: we have to maintain files manually, follow new versions, we're not sure that it works with all Resin flavours, etc.
We could, for example, replace the port numbers in the original file. For example, in some files, replace 8080 with the actual HTTP port, etc.
For this the new XmlReplacement API used in can be used.