mirror of
https://github.com/yldio/copilot.git
synced 2024-12-01 07:30:07 +02:00
68 lines
1.2 KiB
YAML
68 lines
1.2 KiB
YAML
version: '2'
|
|
services:
|
|
fast-node:
|
|
build: .
|
|
environment:
|
|
- TYPE=node
|
|
ports:
|
|
- "8001:8000"
|
|
fast-artillery:
|
|
build: .
|
|
environment:
|
|
- TYPE=artillery
|
|
- MODE=fast
|
|
depends_on:
|
|
- fast-node
|
|
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
|
|
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:v1.5.2
|
|
ports:
|
|
- "9090:9090"
|
|
volumes:
|
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
|
environment:
|
|
- TYPE=telemetry
|
|
depends_on:
|
|
- fast-node
|
|
- another-fast-node
|
|
- slow-node
|
|
- plain-node
|