-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathdocker-compose-debian.yml
108 lines (105 loc) · 3.57 KB
/
docker-compose-debian.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
105
106
107
108
version: "3"
services:
dtserver:
build:
context: ./Dynatrace-Server
dockerfile: Dockerfile-debian
args:
- DT_HOME=${DT_HOME}
- VERSION=${VERSION}
- BUILD_VERSION=${BUILD_VERSION}
- DT_SERVER_LICENSE_KEY_FILE_URL=${DT_SERVER_LICENSE_KEY_FILE_URL}
- CUID=${CUID}
- CGID=${CGID}
container_name: "${DT_SERVER_NAME}"
image: "dynatrace/server:7.0-debian"
environment:
- COMPOSE_PROJECT_NAME
- DT_HOME
- DT_SERVER_LICENSE_KEY_FILE_URL
- APPMON_COLLECTOR_SERVER_SSL_PORT
ports:
# Browser to server ports NonSSL 8020 SSL 8021 (to start the Webstart Client)
- "${APPMON_WEB_CLIENT_NONSSL_PORT:-8020}:8020"
- "${APPMON_WEB_CLIENT_SSL_PORT:-8021}:8021"
# 9911 AppMon Web
- "${APPMON_WEB_SSL_PORT:-9911}:9911"
# 8040 Non SSL Collector to server port for Web Base Agents (or direct agent to server)
# 8041 SSL Collector to server port for Web Base Agents (or direct agent to server)
- "${APPMON_ONEAGENT_NONSSL_SERVER_PORT:-8040}:8040"
- "${APPMON_ONEAGENT_SSL_SERVER_PORT:-8041}:8041"
# 2021 Client to Frontend Server - non SSL
- "${APPMON_CLIENT_NONSSL_PORT:-2021}:2021"
# 8023 Client to Frontend Server - encrypted via HTTP tunnel
- "${APPMON_CLIENT_SSL_PORT:-8023}:8023"
# 6699 Collector to Server SSL
- "${APPMON_COLLECTOR_SERVER_SSL_PORT:-6699}:6699"
# 9998 - Legacy Agent to server embedded Collector (default)
volumes:
- "${DT_SERVER_LOG_PATH_ON_HOST}:${DT_HOME}/log/server/dtserver"
networks:
- appmon
user: "${CUID}:${CGID}"
dtcollector:
build:
context: ./Dynatrace-Collector
dockerfile: Dockerfile-debian
args:
- DT_HOME=${DT_HOME}
- VERSION=${VERSION}
- BUILD_VERSION=${BUILD_VERSION}
- CUID=${CUID}
- CGID=${CGID}
container_name: "${DT_COLLECTOR_NAME}"
image: "dynatrace/collector:7.0-debian"
environment:
- COMPOSE_PROJECT_NAME
- DT_HOME
- DT_SERVER_LICENSE_KEY_FILE_URL
- DT_SERVER_NAME
- APPMON_COLLECTOR_PORT
- APPMON_ONEAGENT_NONSSL_PORT
- APPMON_ONEAGENT_SSL_PORT
- APPMON_COLLECTOR_SERVER_SSL_PORT
ports:
# 9998 - Legacy Agent to Collector
- "${APPMON_COLLECTOR_PORT:-9998}:9998"
# 8042 One Agent to Collector non SSL
- "${APPMON_ONEAGENT_NONSSL_PORT:-8042}:8042"
# 8043 One Agent to Collector SSL
- "${APPMON_ONEAGENT_SSL_PORT:-8043}:8043"
volumes:
- "${DT_COLLECTOR_LOG_PATH_ON_HOST}:${DT_HOME}/log/collector/dtcollector"
networks:
- appmon
user: "${CUID}:${CGID}"
dtagent:
build:
context: ./Dynatrace-Agent
dockerfile: Dockerfile-debian
args:
- DT_HOME=${DT_HOME}
- VERSION=${VERSION}
- BUILD_VERSION=${BUILD_VERSION}
container_name: "${DT_AGENT_NAME}"
image: "dynatrace/agent:7.0-debian"
environment:
- COMPOSE_PROJECT_NAME
- DT_HOME
- DT_AGENT_COLLECTOR="${DT_COLLECTOR_NAME}:9998"
- AGENT_LIB32
- AGENT_LIB64
- NODE_AGENT_LIB32
- NODE_AGENT_LIB64
- WSAGENT_BIN64
- WSAGENT_INI
volumes:
- ${DT_HOME}
- ${DT_HOME}/agent/lib64
- "${DT_AGENT_LOG_PATH_ON_HOST}:${DT_HOME}/log/agent"
networks:
- appmon
user: "${CUID}:${CGID}"
networks:
appmon:
driver: bridge