github.com/m3db/m3@v1.5.0/scripts/docker-integration-tests/prom_remote_write_backend/docker-compose.yml (about) 1 version: "3.5" 2 services: 3 m3aggregator01: 4 expose: 5 - "6001" 6 ports: 7 - "127.0.0.1:6001:6001" 8 networks: 9 - backend 10 environment: 11 - M3AGGREGATOR_HOST_ID=m3aggregator01 12 image: "m3aggregator_integration:${REVISION}" 13 volumes: 14 - "./m3aggregator.yml:/etc/m3aggregator/m3aggregator.yml" 15 m3aggregator02: 16 expose: 17 - "6002" 18 ports: 19 - "127.0.0.1:6002:6001" 20 networks: 21 - backend 22 environment: 23 - M3AGGREGATOR_HOST_ID=m3aggregator02 24 image: "m3aggregator_integration:${REVISION}" 25 volumes: 26 - "./m3aggregator.yml:/etc/m3aggregator/m3aggregator.yml" 27 m3coordinator01: 28 expose: 29 - "7202" 30 ports: 31 - "0.0.0.0:7202:7201" 32 networks: 33 - backend 34 image: "m3coordinator_integration:${REVISION}" 35 volumes: 36 - "./:/etc/m3coordinator/" 37 coordinatoradmin: 38 expose: 39 - "7201" 40 ports: 41 - "0.0.0.0:7201:7201" 42 networks: 43 - backend 44 image: "m3coordinator_integration:${REVISION}" 45 volumes: 46 - "./m3coordinator-admin.yml:/etc/m3coordinator/m3coordinator.yml" 47 prometheusraw: 48 expose: 49 - "9090" 50 ports: 51 - "0.0.0.0:9090:9090" 52 networks: 53 - backend 54 image: prom/prometheus:latest 55 volumes: 56 - "./prometheus.yml:/etc/prometheus/prometheus.yml" 57 command: 58 - "--config.file=/etc/prometheus/prometheus.yml" 59 - "--storage.tsdb.path=/prometheus" 60 - "--web.console.libraries=/usr/share/prometheus/console_libraries" 61 - "--web.console.templates=/usr/share/prometheus/consoles" 62 - "--enable-feature=remote-write-receiver" 63 prometheusagg: 64 expose: 65 - "9091" 66 ports: 67 - "0.0.0.0:9091:9090" 68 networks: 69 - backend 70 image: prom/prometheus:latest 71 volumes: 72 - "./prometheus.yml:/etc/prometheus/prometheus.yml" 73 command: 74 - "--config.file=/etc/prometheus/prometheus.yml" 75 - "--storage.tsdb.path=/prometheus" 76 - "--web.console.libraries=/usr/share/prometheus/console_libraries" 77 - "--web.console.templates=/usr/share/prometheus/consoles" 78 - "--enable-feature=remote-write-receiver" 79 etcd01: 80 expose: 81 - "2379-2380" 82 ports: 83 - "0.0.0.0:2379-2380:2379-2380" 84 networks: 85 - backend 86 image: quay.io/coreos/etcd:v3.4.3 87 command: 88 - "etcd" 89 - "--name" 90 - "etcd01" 91 - "--listen-peer-urls" 92 - "http://0.0.0.0:2380" 93 - "--listen-client-urls" 94 - "http://0.0.0.0:2379" 95 - "--advertise-client-urls" 96 - "http://etcd01:2379" 97 - "--initial-cluster-token" 98 - "etcd-cluster-1" 99 - "--initial-advertise-peer-urls" 100 - "http://etcd01:2380" 101 - "--initial-cluster" 102 - "etcd01=http://etcd01:2380" 103 - "--initial-cluster-state" 104 - "new" 105 - "--data-dir" 106 - "/var/lib/etcd" 107 networks: 108 backend: