github.com/m3db/m3@v1.5.0/scripts/docker-integration-tests/coordinator_noop/docker-compose.yml (about)

     1  version: "3.5"
     2  services:
     3    coordinator01:
     4      expose:
     5        - "7201"
     6      ports:
     7        - "0.0.0.0:7201:7201"
     8      networks:
     9        - backend
    10      image: "m3coordinator_integration:${REVISION}"
    11      volumes:
    12        - "./m3coordinator.yml:/etc/m3coordinator/m3coordinator.yml"
    13    etcd01:
    14      expose:
    15        - "2379-2380"
    16      ports:
    17        - "0.0.0.0:2379-2380:2379-2380"
    18      networks:
    19        - backend
    20      image: quay.io/coreos/etcd:v3.4.3
    21      command:
    22        - "etcd"
    23        - "--name"
    24        - "etcd01"
    25        - "--listen-peer-urls"
    26        - "http://0.0.0.0:2380"
    27        - "--listen-client-urls"
    28        - "http://0.0.0.0:2379"
    29        - "--advertise-client-urls"
    30        - "http://etcd01:2379"
    31        - "--initial-cluster-token"
    32        - "etcd-cluster-1"
    33        - "--initial-advertise-peer-urls"
    34        - "http://etcd01:2380"
    35        - "--initial-cluster"
    36        - "etcd01=http://etcd01:2380"
    37        - "--initial-cluster-state"
    38        - "new"
    39        - "--data-dir"
    40        - "/var/lib/etcd"
    41  networks:
    42    backend: