This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
118 lines (111 loc) · 2.81 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
version: "3.9"
services:
ddd-autohaus:
container_name: "thesis-ddd-werkstatt"
build:
context: ddd-autohaus-tactical-design-werkstattauftrag
dockerfile: Dockerfile
ports:
- "9000:9000"
#Translator
modeler-mock:
container_name: "thesis-modeler-mock"
build:
context: modeler-mock
dockerfile: Dockerfile
ports:
- "8070:8070"
environment:
- SPRING_RABBITMQ_HOST=rabbit
- MODELING_FILE=modeling-werkstatt.json
depends_on:
rabbit:
condition: service_healthy
loadtest-translator:
condition: service_started
ddd-autohaus:
condition: service_started
loadtest-translator:
container_name: "thesis-loadtest-translator"
build:
context: loadtest-translator
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
- SPRING_RABBITMQ_HOST=rabbit
depends_on:
rabbit:
condition: service_healthy
k6-adapter:
container_name: "thesis-k6-adapter"
build:
context: k6-adapter
dockerfile: Dockerfile
ports:
- "8090:8090"
environment:
- SPRING_RABBITMQ_HOST=rabbit
depends_on:
rabbit:
condition: service_healthy
config-runner:
container_name: "thesis-k6-configuration-runner"
build:
context: k6-configuration-runner
dockerfile: Dockerfile
volumes:
- ./docker-output/logging:/app/poc/logging
- ./docker-output/scripts:/app/poc/scripts
- ./docker-config/grafana/my-dashboards:/docker-config/grafana/my-dashboards
ports:
- "9010:9010"
env_file:
- ./env/.env
environment:
- SPRING_RABBITMQ_HOST=rabbit
- INFLUX_HOST=influxdb
- API_HOST=ddd-autohaus
depends_on:
rabbit:
condition: service_healthy
influxdb:
condition: service_started
ddd-autohaus:
condition: service_started
rabbit:
container_name: "thesis-rabbit"
image: rabbitmq:3-management
user: rabbitmq
ports:
- "15672:15672"
- "5672:5672"
healthcheck:
test: rabbitmq-diagnostics check_port_connectivity
interval: 2s
timeout: 5s
retries: 20
start_period: 5s
influxdb:
image: influxdb:latest
container_name: "thesis-influx"
ports:
- "8086:8086"
env_file:
- ./env/.env
grafana:
image: grafana/grafana:9.1.8
container_name: "thesis-grafana"
volumes:
- ./docker-config/grafana/provisioning:/usr/share/grafana/custom/
- ./docker-config/grafana/my-dashboards:/usr/share/grafana/public/dashboards
ports:
- "3030:3000"
env_file:
- ./env/.env
environment:
- GF_PANELS_DISABLE_SANITIZE_HTML=TRUE
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_PATHS_PROVISIONING=/usr/share/grafana/custom/
depends_on:
- influxdb