-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose-contrast.yml
35 lines (35 loc) · 1.58 KB
/
docker-compose-contrast.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
version: "3.0"
services:
bookstore-datamanager:
build: ./bookstore-data-manager
volumes:
- "./contrast_security.yaml:/etc/contrast/java/contrast_security.yaml"
- "./target/dependency/contrast.jar:/tmp/contrast.jar"
environment:
- "CONTRAST__AGENT__JAVA__STANDALONE_APP_NAME=Bookstore Data Manager"
- "CONTRAST__AGENT__CONTRAST_WORKING_DIR=/tmp/contrast"
- "CONTRAST__AGENT__LOGGER__STDOUT=true"
- "CONTRAST__SERVER__ENVIRONMENT=development"
- "JAVA_TOOL_OPTIONS=-javaagent:/tmp/contrast.jar"
bookstore-devservice:
build: ./bookstore-devservice
volumes:
- "./contrast_security.yaml:/etc/contrast/java/contrast_security.yaml"
- "./target/dependency/contrast.jar:/tmp/contrast.jar"
environment:
- "CONTRAST__AGENT__JAVA__STANDALONE_APP_NAME=Bookstore Devservice"
- "CONTRAST__AGENT__CONTRAST_WORKING_DIR=/tmp/contrast"
- "CONTRAST__AGENT__LOGGER__STDOUT=true"
- "CONTRAST__SERVER__ENVIRONMENT=development"
- "JAVA_TOOL_OPTIONS=-javaagent:/tmp/contrast.jar"
bookstore-frontend:
build: ./bookstore-frontend
volumes:
- "./contrast_security.yaml:/etc/contrast/java/contrast_security.yaml"
- "./target/dependency/contrast.jar:/tmp/contrast.jar"
environment:
- "CONTRAST__AGENT__JAVA__STANDALONE_APP_NAME=Bookstore Front End"
- "CONTRAST__AGENT__CONTRAST_WORKING_DIR=/tmp/contrast"
- "CONTRAST__AGENT__LOGGER__STDOUT=true"
- "CONTRAST__SERVER__ENVIRONMENT=development"
- "JAVA_TOOL_OPTIONS=-Djavax.xml.accessExternalDTD=all -javaagent:/tmp/contrast.jar"