Open patcon opened 5 years ago
Right now, we search for {{AUTOGENERATED}} string in a static template, and add our dynamic config to that template (if provided).
{{AUTOGENERATED}}
We could have another option: If the replacement token is not present, assume that we want to parse the toml and merge it with the auto-generated one.
This will allow use to configure gateways that also connect to other teams, or involve bridges that would be too complicated to configure dynamically.
We should rename the TEMPLATE_URL envvar to something appropriately generic, or maybe just have some aliases.
TEMPLATE_URL
Right now, we search for
{{AUTOGENERATED}}
string in a static template, and add our dynamic config to that template (if provided).We could have another option: If the replacement token is not present, assume that we want to parse the toml and merge it with the auto-generated one.
This will allow use to configure gateways that also connect to other teams, or involve bridges that would be too complicated to configure dynamically.
We should rename the
TEMPLATE_URL
envvar to something appropriately generic, or maybe just have some aliases.