forked from Dynatrace/Dynatrace-AppMon-Docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-withCollector.yml
37 lines (35 loc) · 1.13 KB
/
docker-compose-withCollector.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
dtserver:
container_name: "dtserver"
hostname: "docker-dtserver"
image: "dynatrace/server:6.5-slim"
environment:
DT_SERVER_NAME: "dtserver"
DT_SERVER_LICENSE_KEY_FILE_URL: "${DT_SERVER_LICENSE_KEY_FILE_URL}"
HOST_NAME: "docker-dtserver"
ports:
- "2020:2020" # Dynatrace Clients (TCP)
- "2021:2021" # Dynatrace Clients (TCP with SSL)
- "8020:8020" # Dynatrace Web Server (HTTP)
- "8021:8021" # Dynatrace Web Server (HTTPS)
- "9911:9911" # Dynatrace Web UI (HTTPS)
- "9998:9998" # Dynatrace Agents (TCP)
volumes:
- "/tmp/log/dynatrace/servers/dtserver:/dynatrace/log/server/dtserver"
dtcollector:
container_name: "dtcollector"
hostname: "docker-dtcollector"
image: "dynatrace/collector:6.5-slim"
links:
- dtserver
environment:
DT_COLLECTOR_NAME: "dtcollector"
HOST_NAME: "docker-dtcollector"
volumes:
- "/tmp/log/dynatrace/collectors/dtcollector:/dynatrace/log/collector/dtcollector"
dtagent:
container_name: "dtagent"
hostname: "docker-dtagent"
image: "dynatrace/agent:6.5-slim"
volumes:
- /dynatrace
- "/tmp/log/dynatrace/agents/dtagent:/dynatrace/log/agent"