-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
65 lines (62 loc) · 1.41 KB
/
docker-compose.yaml
File metadata and controls
65 lines (62 loc) · 1.41 KB
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
services:
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
env_file:
- .env
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "status"]
interval: 10s
timeout: 2s
retries: 5
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
redis:
image: redis:alpine
container_name: redis
ports:
- "6379:6379"
env_file:
- .env
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 2s
retries: 5
aggregator:
image: ghcr.io/naganathan05/load-pulse-aggregator:latest
container_name: aggregator
environment:
- DOCKER_ENV=true
depends_on:
rabbitmq:
condition: service_healthy
redis:
condition: service_healthy
env_file:
- .env
ports:
- "${LOAD_TESTER_PORT}:8080"
load-tester:
image: ghcr.io/naganathan05/load-pulse-load-tester:latest
container_name: load-tester
environment:
- DOCKER_ENV=true
depends_on:
rabbitmq:
condition: service_healthy
redis:
condition: service_healthy
env_file:
- .env
ports:
- "${AGGREGATOR_PORT}:8081"
volumes:
- type: bind
source: ${TESTCONFIG_FILE_PATH:-./testConfig.json}
target: /workspace/testConfig.json
read_only: true