-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
38 lines (36 loc) · 1.07 KB
/
docker-compose.yaml
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
version: '2'
services:
master:
image: quay.io/honestbee/locust
environment:
- "LOCUST_MODE=master"
- "TARGET_HOST=http://site.example.com"
- "LOCUST_SCRIPT=/locust-tasks/tasks_elb.py"
volumes:
- ./locust-image/app/locust-tasks/tasks_elb.py:/locust-tasks/tasks_elb.py
networks:
locust-nw:
ports:
- "8089:8089"
worker:
image: quay.io/honestbee/locust
environment:
- "LOCUST_MODE=worker"
- "LOCUST_MASTER=master"
- "LOCUST_MASTER_WEB=8089"
- "TARGET_HOST=http://site.example.com"
- "LOCUST_SCRIPT=/locust-tasks/tasks_elb.py"
volumes:
- ./locust-image/app/locust-tasks/tasks_elb.py:/locust-tasks/tasks_elb.py
networks:
locust-nw:
# seeder:
# image: quay.io/locust-seeder:1.0.5
# networks:
# locust-nw:
# aliases:
# - locust-seeder
# expose:
# - 5000
networks:
locust-nw: