forked from pinpoint-apm/pinpoint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
88 lines (84 loc) · 1.99 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
pinpoint-hbase:
container_name: pinpoint-hbase
hostname: hbase
image: naver/pinpoint-hbase:1.7.0-SNAPSHOT
restart: always
expose:
- "2181"
- "16010"
ports:
- "2181:2181"
- "16010:16010"
pinpoint-mysql:
container_name: pinpoint-mysql
restart: always
image: mysql:5.7
ports:
- "13306:3306"
environment:
- MYSQL_ROOT_PASSWORD=root123
- MYSQL_USER=admin
- MYSQL_PASSWORD=admin
- MYSQL_DATABASE=pinpoint
pinpoint-collector:
container_name: pinpoint-collector
hostname: collector
image: naver/pinpoint-collector:1.7.0-SNAPSHOT
restart: always
expose:
- "9994"
- "9995"
- "9996"
ports:
- "9994:9994"
- "9995:9995/tcp"
- "9996:9996/tcp"
- "9995:9995/udp"
- "9996:9996/udp"
environment:
HBASE_HOST: hbase
HBASE_PORT: 2181
COLLECTOR_TCP_PORT: 9994
COLLECTOR_UDP_STAT_LISTEN_PORT: 9995
COLLECTOR_UDP_SPAN_LISTEN_PORT: 9996
CLUSTER_ENABLE: 'true'
CLUSTER_ZOOKEEPER_ADDRESS: hbase
DISABLE_DEBUG: 'true'
links:
- pinpoint-hbase:hbase
pinpoint-web:
container_name: pinpoint-web
hostname: web
image: naver/pinpoint-web:1.7.0-SNAPSHOT
restart: always
expose:
- "8080"
ports:
- "3080:8080"
environment:
HBASE_HOST: hbase
HBASE_PORT: 2181
CLUSTER_ENABLE: 'true'
CLUSTER_ZOOKEEPER_ADDRESS: hbase
ADMIN_PASSWORD: admin123
DISABLE_DEBUG: 'true'
JDBC_DRIVER: com.mysql.jdbc.Driver
JDBC_URL: jdbc:mysql://mysql:3306/pinpoint?characterEncoding=UTF-8
JDBC_USERNAME: admin
JDBC_PASSWORD: admin
links:
- pinpoint-hbase:hbase
- pinpoint-mysql:mysql
# only example
#pinpoint-agent:
# image: naver/pinpoint-agent:1.7.0-SNAPSHOT
# net: "none"
# restart: unless-stopped
# volumes:
# - /var/container_data/pinpoint-agent/log:/opt/app/pinpoint-agent/log:rw
# environment:
# COLLECTOR_IP: 192.168.99.100
# COLLECTOR_TCP_PORT: 9994
# COLLECTOR_UDP_STAT_LISTEN_PORT: 9995
# COLLECTOR_UDP_SPAN_LISTEN_PORT: 9996
# DISABLE_DEBUG: 'true'