github.com/m3db/m3@v1.5.0/scripts/docker-integration-tests/multi_cluster_write/m3dbnode-cluster-a.yml (about)

     1  db:
     2    hostID:
     3      resolver: environment
     4      envVarName: M3DB_HOST_ID
     5  
     6    client:
     7      config:
     8        services:
     9          - service:
    10              env: default_env
    11              zone: embedded
    12              service: m3db
    13              cacheDir: /var/lib/m3kv
    14              etcdClusters:
    15                - zone: embedded
    16                  endpoints:
    17                      - cluster_a_dbnode01:2379
    18          - service:
    19              env: default_env
    20              zone: embedded
    21              service: m3db
    22              cacheDir: /var/lib/m3kv
    23              etcdClusters:
    24                  - zone: embedded
    25                    endpoints:
    26                        - cluster_b_dbnode01:2379
    27            async: true
    28  
    29    discovery:
    30      config:
    31        service:
    32          env: default_env
    33          zone: embedded
    34          service: m3db
    35          cacheDir: /var/lib/m3kv
    36          etcdClusters:
    37            - zone: embedded
    38              endpoints:
    39                - cluster_a_dbnode01:2379
    40        seedNodes:
    41          initialCluster:
    42            - hostID: cluster_a_m3db_local_1
    43              endpoint: http://cluster_a_dbnode01:2380