-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
65 lines (63 loc) · 1.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
version: '2.2'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.2
container_name: elasticsearch
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esdata1:/usr/share/elasticsearch/data
ports:
- 9200:9200
elasticsearch2:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.2
container_name: elasticsearch2
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "discovery.zen.ping.unicast.hosts=elasticsearch"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esdata2:/usr/share/elasticsearch/data
controller:
image: dtr.corp.appdynamics.com/appdynamics/enterprise-console:latest
container_name: controller
ports:
- "8080:8080"
- "9080:9080"
# elasticsearch uses 9200
- "9201:9200"
machine:
container_name: machine
environment:
- APPDYNAMICS_AGENT_ACCOUNT_NAME=customer1
- APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY=SJ5b2m7d1$$354
- APPDYNAMICS_CONTROLLER_HOST_NAME=controller
- APPDYNAMICS_CONTROLLER_SSL_ENABLED=false
- APPDYNAMICS_CONTROLLER_PORT=8080
- EVENTS_SERVICE_HOST=controller
- MACHINE_AGENT_PROPERTIES=-Dappdynamics.sim.enabled=true -Dappdynamics.docker.enabled=false -Dappdynamics.controller.port=8080
build:
context: .
dockerfile: Dockerfile_MA
# args:
# - ENCRYPTION_KEY=${ENCRYPTION_KEY}
# - PLAINTEXT_PWD=${PLAINTEXT_PWD}
volumes:
- /:/hostroot:ro
- /var/run/docker.sock:/var/run/docker.sock
volumes:
esdata1:
driver: local
esdata2:
driver: local