github.com/m3db/m3@v1.5.0/scripts/docker-integration-tests/replication/docker-compose.yml (about) 1 version: "3.5" 2 services: 3 cluster_a_dbnode01: 4 expose: 5 - "9000-9004" 6 - "2379-2380" 7 ports: 8 - "0.0.0.0:9012:9002" 9 - "0.0.0.0:9013:9003" 10 networks: 11 - backend 12 image: "m3dbnode_integration:${REVISION}" 13 environment: 14 - M3DB_HOST_ID=cluster_a_m3db_local_1 15 volumes: 16 - "./m3dbnode-cluster-a.yml:/etc/m3dbnode/m3dbnode.yml" 17 cluster_a_dbnode02: 18 expose: 19 - "9000-9004" 20 - "2379-2380" 21 ports: 22 - "0.0.0.0:9022:9002" 23 - "0.0.0.0:9023:9003" 24 networks: 25 - backend 26 image: "m3dbnode_integration:${REVISION}" 27 environment: 28 - M3DB_HOST_ID=cluster_a_m3db_local_2 29 volumes: 30 - "./m3dbnode-cluster-a.yml:/etc/m3dbnode/m3dbnode.yml" 31 cluster_a_coordinator01: 32 expose: 33 - "7201" 34 - "7203" 35 - "7204" 36 ports: 37 - "0.0.0.0:7201:7201" 38 - "0.0.0.0:7203:7203" 39 - "0.0.0.0:7204:7204" 40 networks: 41 - backend 42 image: "m3coordinator_integration:${REVISION}" 43 volumes: 44 - "./m3coordinator-cluster-a.yml/:/etc/m3coordinator/m3coordinator.yml" 45 cluster_b_dbnode01: 46 expose: 47 - "9000-9004" 48 - "2379-2380" 49 ports: 50 - "0.0.0.0:9112:9002" 51 - "0.0.0.0:9113:9003" 52 networks: 53 - backend 54 image: "m3dbnode_integration:${REVISION}" 55 environment: 56 - M3DB_HOST_ID=cluster_b_m3db_local_1 57 volumes: 58 - "./m3dbnode-cluster-b.yml:/etc/m3dbnode/m3dbnode.yml" 59 cluster_b_dbnode02: 60 expose: 61 - "9000-9004" 62 - "2379-2380" 63 ports: 64 - "0.0.0.0:9122:9002" 65 - "0.0.0.0:9123:9003" 66 networks: 67 - backend 68 image: "m3dbnode_integration:${REVISION}" 69 environment: 70 - M3DB_HOST_ID=cluster_b_m3db_local_2 71 volumes: 72 - "./m3dbnode-cluster-b.yml:/etc/m3dbnode/m3dbnode.yml" 73 cluster_b_coordinator01: 74 expose: 75 - "7201" 76 - "7203" 77 - "7204" 78 ports: 79 - "0.0.0.0:17201:7201" 80 - "0.0.0.0:17203:7203" 81 - "0.0.0.0:17204:7204" 82 networks: 83 - backend 84 image: "m3coordinator_integration:${REVISION}" 85 volumes: 86 - "./m3coordinator-cluster-b.yml:/etc/m3coordinator/m3coordinator.yml" 87 networks: 88 backend: