2016-11-23 01:03:33 +02:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
fast-node:
|
|
|
|
build: .
|
|
|
|
environment:
|
|
|
|
- TYPE=node
|
|
|
|
ports:
|
|
|
|
- "8001:8000"
|
|
|
|
fast-artillery:
|
|
|
|
build: .
|
|
|
|
environment:
|
|
|
|
- TYPE=artillery
|
|
|
|
- MODE=fast
|
|
|
|
depends_on:
|
|
|
|
- fast-node
|
2016-11-23 18:27:02 +02:00
|
|
|
another-fast-node:
|
|
|
|
build: .
|
|
|
|
environment:
|
|
|
|
- TYPE=node
|
|
|
|
ports:
|
|
|
|
- "8004:8000"
|
|
|
|
another-fast-artillery:
|
|
|
|
build: .
|
|
|
|
environment:
|
|
|
|
- TYPE=artillery
|
|
|
|
- MODE=another-fast
|
|
|
|
depends_on:
|
|
|
|
- another-fast-node
|
2016-11-23 01:03:33 +02:00
|
|
|
slow-node:
|
|
|
|
build: .
|
|
|
|
environment:
|
|
|
|
- TYPE=node
|
|
|
|
ports:
|
|
|
|
- "8002:8000"
|
|
|
|
slow-artillery:
|
|
|
|
build: .
|
|
|
|
environment:
|
|
|
|
- TYPE=artillery
|
|
|
|
- MODE=slow
|
|
|
|
depends_on:
|
|
|
|
- slow-node
|
|
|
|
plain-node:
|
|
|
|
build: .
|
|
|
|
environment:
|
|
|
|
- TYPE=node
|
|
|
|
ports:
|
|
|
|
- "8003:8000"
|
|
|
|
plain-artillery:
|
|
|
|
build: .
|
|
|
|
environment:
|
|
|
|
- TYPE=artillery
|
|
|
|
- MODE=plain
|
|
|
|
depends_on:
|
|
|
|
- plain-node
|
|
|
|
telemetry:
|
|
|
|
image: prom/prometheus
|
|
|
|
ports:
|
|
|
|
- "9090:9090"
|
|
|
|
volumes:
|
|
|
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
|
|
|
environment:
|
|
|
|
- TYPE=telemetry
|
|
|
|
depends_on:
|
|
|
|
- fast-node
|
2016-11-23 18:27:02 +02:00
|
|
|
- another-fast-node
|
2016-11-23 01:03:33 +02:00
|
|
|
- slow-node
|
|
|
|
- plain-node
|