forked from Dynatrace/easyTravel-Docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
104 lines (97 loc) · 2.61 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
mongodb:
hostname: easytravel-mongodb
container_name: mongodb
image: "dynatrace/easytravel-mongodb"
ports:
- 27017
- 28017
backend:
hostname: easytravel-backend
container_name: backend
image: "dynatrace/easytravel-backend"
ports:
- 8091:8080
links:
- mongodb
environment:
CATALINA_OPTS: "-Dconfig.apmServerDefault=${ET_APM_SERVER_DEFAULT} -Xmx300m"
ET_DATABASE_LOCATION: "easytravel-mongodb:27017"
ET_MONGO_AUTH_DB: "admin"
ET_DATABASE_USER: "etAdmin"
ET_DATABASE_PASSWORD: "adminadmin"
frontend:
hostname: easytravel-frontend
container_name: frontend
image: "dynatrace/easytravel-frontend"
ports:
- 8080
links:
- backend
- mongodb
environment:
CATALINA_OPTS: "-Dconfig.apmServerDefault=${ET_APM_SERVER_DEFAULT} -Xmx525m"
ET_BACKEND_URL: "http://easytravel-backend:8080"
angular-frontend:
hostname: easytravel-angular-frontend
container_name: angular-frontend
image: "dynatrace/easytravel-angular-frontend"
ports:
- 8080
links:
- backend
- mongodb
environment:
CATALINA_OPTS: "-Dconfig.apmServerDefault=${ET_APM_SERVER_DEFAULT} -Xmx525m"
ET_BACKEND_URL: "http://easytravel-backend:8080"
www:
hostname: easytravel-www
container_name: www
image: "dynatrace/easytravel-nginx"
ports:
- 80:80
- 9079:9079
- 8080:8080
links:
- frontend
- angular-frontend
- backend
environment:
ET_FRONTEND_LOCATION: "easytravel-frontend:8080"
ET_ANGULAR_FRONTEND_LOCATION: "easytravel-angular-frontend:8080"
ET_BACKEND_LOCATION: "easytravel-backend:8080"
headless-customer-loadgen:
container_name: headless-customer-loadgen
image: "dynatrace/easytravel-headless-loadgen"
links:
- backend
- frontend
- www
environment:
ET_FRONTEND_URL: "http://easytravel-www:80"
ET_VISIT_NUMBER: 2
MAX_CHROME_DRIVERS: 4
SCENARIO_NAME: "Headless Customer Scenario"
headless-angular-loadgen:
container_name: headless-angular-loadgen
image: "dynatrace/easytravel-headless-loadgen"
links:
- backend
- angular-frontend
- www
environment:
ET_FRONTEND_URL: "http://easytravel-www:9079"
ET_VISIT_NUMBER: 2
MAX_CHROME_DRIVERS: 4
SCENARIO_NAME: "Headless Angular Scenario"
loadgen:
container_name: loadgen
image: "dynatrace/easytravel-loadgen"
links:
- backend
- frontend
- www
environment:
ET_FRONTEND_URL: "http://easytravel-www:80"
ET_BACKEND_URL: "http://easytravel-www:8080"
ET_PROBLEMS: "BadCacheSynchronization,CPULoad,DatabaseCleanup,DatabaseSlowdown,FetchSizeTooSmall,JourneySearchError404,JourneySearchError500,LoginProblems,MobileErrors,TravellersOptionBox"
ET_VISIT_NUMBER: 2