-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy pathdocker-compose.yml
66 lines (63 loc) · 1.59 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: '3'
services:
master:
container_name: master
hostname: master
ports:
- "8089:8089"
- "5557:5557"
- "5558:5558"
image: "grubykarol/sending-experiment:0.0.2"
environment:
ATTACKED_HOST: http://sut
LOCUST_MODE: master
LOCUST_MASTER_BIND_PORT: 5557
ES_CONNECTIONS: "elasticsearch:9200"
TASK_DELAY: 10
QUIET_MODE: "${QUIET_MODE:-false}"
LOCUST_OPTS: "--csv=example"
volumes:
- ./locust-scripts:/locust
slave:
image: "grubykarol/sending-experiment:0.0.2"
environment:
ATTACKED_HOST: http://sut
LOCUST_MODE: slave
LOCUST_MASTER: master
LOCUST_MASTER_BIND_PORT: 5557
ES_CONNECTIONS: "elasticsearch:9200"
TASK_DELAY: 10
QUIET_MODE: "${QUIET_MODE:-false}"
LOCUST_OPTS: "--csv=example"
NO_PROXY: master
volumes:
- ./locust-scripts:/locust
standalone:
image: "grubykarol/sending-experiment:0.0.2"
container_name: standalone
hostname: standalone
ports:
- "8189:8189"
environment:
ATTACKED_HOST: http://sut
LOCUST_MODE: standalone
ES_CONNECTIONS: "elasticsearch:9200"
TASK_DELAY: 10
QUIET_MODE: "${QUIET_MODE:-false}"
NO_PROXY: standalone
volumes:
- ./locust-scripts:/locust
# test endpoint
httpbin:
image: "kennethreitz/httpbin"
container_name: httpbin
hostname: httpbin
sut:
image: "lucascimon/nginx-logging-proxy"
container_name: sut
hostname: sut
environment:
PROXIED_ENDPOINT: http://httpbin:80
LISTENING_PORT: 80
ports:
- "80:80"