github.com/m3db/m3@v1.5.0/scripts/development/m3_stack/docker-compose.yml (about) 1 version: "3.5" 2 services: 3 m3db_seed: 4 networks: 5 - backend 6 build: 7 context: ../../../bin 8 dockerfile: ./docker/m3dbnode/development.Dockerfile 9 image: m3dbnode:dev 10 volumes: 11 - "./m3dbnode.yml:/etc/m3dbnode/m3dbnode.yml" 12 - "./schema.proto:/etc/m3dbnode/schema.proto" 13 environment: 14 - M3DB_HOST_ID=m3db_seed 15 expose: 16 - "2379" 17 - "9002" 18 - "9003" 19 - "9004" 20 ports: 21 - "0.0.0.0:2379:2379" 22 - "0.0.0.0:9002:9002" 23 - "0.0.0.0:9003:9003" 24 - "0.0.0.0:9004:9004" 25 m3db_data01: 26 networks: 27 - backend 28 build: 29 context: ../../../bin 30 dockerfile: ./docker/m3dbnode/development.Dockerfile 31 image: m3dbnode:dev 32 volumes: 33 - "./m3dbnode.yml:/etc/m3dbnode/m3dbnode.yml" 34 environment: 35 - M3DB_HOST_ID=m3db_data01 36 m3db_data02: 37 networks: 38 - backend 39 build: 40 context: ../../../bin 41 dockerfile: ./docker/m3dbnode/development.Dockerfile 42 image: m3dbnode:dev 43 volumes: 44 - "./m3dbnode.yml:/etc/m3dbnode/m3dbnode.yml" 45 environment: 46 - M3DB_HOST_ID=m3db_data02 47 m3aggregator01: 48 expose: 49 - "6001" 50 ports: 51 - "0.0.0.0:6001:6001" 52 networks: 53 - backend 54 build: 55 context: ../../../bin 56 dockerfile: ./docker/m3aggregator/development.Dockerfile 57 image: m3aggregator:dev 58 volumes: 59 - "./m3aggregator.yml:/etc/m3aggregator/m3aggregator.yml" 60 environment: 61 - M3AGGREGATOR_HOST_ID=m3aggregator01 62 m3aggregator02: 63 expose: 64 - "6002" 65 ports: 66 - "0.0.0.0:6002:6001" 67 networks: 68 - backend 69 build: 70 context: ../../../bin 71 dockerfile: ./docker/m3aggregator/development.Dockerfile 72 image: m3aggregator:dev 73 volumes: 74 - "./m3aggregator.yml:/etc/m3aggregator/m3aggregator.yml" 75 environment: 76 - M3AGGREGATOR_HOST_ID=m3aggregator02 77 m3coordinator01: 78 expose: 79 - "7201" 80 - "7203" 81 - "7204" 82 - "7507" 83 ports: 84 - "0.0.0.0:7201:7201" 85 - "0.0.0.0:7203:7203" 86 - "0.0.0.0:7204:7204" 87 - "0.0.0.0:7507:7507" 88 networks: 89 - backend 90 build: 91 context: ../../../bin 92 dockerfile: ./docker/m3coordinator/development.Dockerfile 93 image: m3coordinator:dev 94 volumes: 95 # Use a git ignored path to easily change pre-set configs. 96 # Note: Use ".tmp" suffix is git ignored. 97 - "./m3coordinator.yml.tmp:/etc/m3coordinator/m3coordinator.yml" 98 - "./schema.proto:/etc/m3coordinator/schema.proto" 99 prometheus01: 100 expose: 101 - "9090" 102 ports: 103 - "0.0.0.0:9090:9090" 104 networks: 105 - backend 106 image: prom/prometheus:latest 107 volumes: 108 - "./prometheus.yml:/etc/prometheus/prometheus.yml" 109 prometheus02: 110 expose: 111 - "9091" 112 ports: 113 - "0.0.0.0:9091:9090" 114 networks: 115 - backend 116 image: prom/prometheus:latest 117 volumes: 118 - "./prometheus.yml:/etc/prometheus/prometheus.yml" 119 grafana: 120 build: 121 context: ../../../ 122 dockerfile: ./docker/grafana/Dockerfile 123 expose: 124 - "3000" 125 ports: 126 - "0.0.0.0:3000:3000" 127 networks: 128 - backend 129 image: m3grafana:latest 130 jaeger: 131 networks: 132 - backend 133 image: jaegertracing/all-in-one:1.9 134 environment: 135 - COLLECTOR_ZIPKIN_HTTP_PORT=9411 136 ports: 137 - "0.0.0.0:5775:5775/udp" 138 - "0.0.0.0:6831:6831/udp" 139 - "0.0.0.0:6832:6832/udp" 140 - "0.0.0.0:5778:5778" 141 - "0.0.0.0:16686:16686" 142 - "0.0.0.0:14268:14268" 143 - "0.0.0.0:14269:14269" 144 - "0.0.0.0:9411:9411" 145 networks: 146 backend: