forked from Dev25/mcrouter_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (35 loc) · 1020 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3'
services:
exporter:
image: 056621773704.dkr.ecr.us-east-1.amazonaws.com/mcrouter_exporter:latest
depends_on:
- mcrouter
ports:
- 9442:9442
command: -mcrouter.address "mcrouter:5000" -mcrouter.server_metrics
# entrypoint: /mcrouter_exporter -mcrouter.address mcrouter:5000 -mcrouter.server_metrics
mcrouter:
image: quay.io/dev25/mcrouter:v37
depends_on:
- cache
ports:
- 5000:5000
command: >
mcrouter --config-str='{"pools":{"A":{"servers":["cache:11211"]}},"route":"PoolRoute|A"}' -p 5000
cache:
image: memcached:alpine
ports:
- "11211"
circonus-agent:
image: circonuslabs/circonus-agent:latest
hostname: mcrouter-circonus-agent
command: -d --debug-dump-metrics /debug_dump
restart: always
ports:
- 8125:8125/udp
- 2609:2609/tcp
env_file:
- circonus.env
volumes:
- ./prometheus_collector.yaml:/etc/prometheus_collector.yaml
- ./debug_dump:/debug_dump