How to configure multi-cluster configuration in temporal

Hi team,

please help and let me know where to enter below details in temporal I mean in which file, my scenario is POC at my local docker so not getting the idea from official docs to where to enter those details.

cluster A

clusterMetadata:
enableGlobalNamespace: false
failoverVersionIncrement: 100
masterClusterName: “clusterA”
currentClusterName: “clusterA”
clusterInformation:
clusterA:
enabled: true
initialFailoverVersion: 1
rpcAddress: “127.0.0.1:7233”

cluster B

clusterMetadata:
enableGlobalNamespace: false
failoverVersionIncrement: 100
masterClusterName: “clusterB”
currentClusterName: “clusterB”
clusterInformation:
clusterB:
enabled: true
initialFailoverVersion: 2
rpcAddress: “127.0.0.1:8233”

This information needs to be set in clusterMetadata section of static config. Typically you don’t change
static config but is generated for you based on your env vars set and the config template (default here)

The default template has some hard-coded values in clusterMetadata so its not suited in its current form for multi-cluster replication. You can however set a custom template (see repo here to see how its done) and apply your own env vars that get populated in your template.

In the mentioned repo I’m currently working on same type of sample and will report back here when its done if that helps (should be soon).