github.com/m3db/m3@v1.5.0/scripts/docker-integration-tests/dedicated_etcd_embedded_coordinator/docker-compose.yml (about) 1 version: "3.5" 2 services: 3 dbnode01: 4 expose: 5 - "9000-9004" 6 - "7201" 7 ports: 8 - "0.0.0.0:9000-9004:9000-9004" 9 - "0.0.0.0:7201:7201" 10 networks: 11 - backend 12 image: "m3dbnode_integration:${REVISION}" 13 environment: 14 - M3DB_HOST_ID=dbnode01 15 volumes: 16 - "./m3dbnode.yml:/etc/m3dbnode/m3dbnode.yml" 17 etcd01: 18 expose: 19 - "2379-2380" 20 ports: 21 - "0.0.0.0:2379-2380:2379-2380" 22 networks: 23 - backend 24 image: quay.io/coreos/etcd:v3.4.3 25 command: 26 - "etcd" 27 - "--name" 28 - "etcd01" 29 - "--listen-peer-urls" 30 - "http://0.0.0.0:2380" 31 - "--listen-client-urls" 32 - "http://0.0.0.0:2379" 33 - "--advertise-client-urls" 34 - "http://etcd01:2379" 35 - "--initial-cluster-token" 36 - "etcd-cluster-1" 37 - "--initial-advertise-peer-urls" 38 - "http://etcd01:2380" 39 - "--initial-cluster" 40 - "etcd01=http://etcd01:2380" 41 - "--initial-cluster-state" 42 - "new" 43 - "--data-dir" 44 - "/var/lib/etcd" 45 networks: 46 backend: