Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker-compose.yml #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
196 changes: 99 additions & 97 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,104 +1,106 @@
mongodb:
hostname: easytravel-mongodb
container_name: mongodb
image: "dynatrace/easytravel-mongodb"
ports:
- 27017
- 28017
version: '2'
services:
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"
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"
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"
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"
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-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"
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
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