-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
executable file
·75 lines (63 loc) · 1.73 KB
/
docker-compose.yaml
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
version: '3'
services:
prometheus:
image: ubuntu/prometheus:latest
container_name: prometheus
restart: always
ports:
- "9091:9090"
environment:
- TZ=America/Fortaleza
volumes:
- ./.docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
networks:
- observable
grafana:
image: grafana/grafana:latest
container_name: grafana
restart: always
ports:
- "3001:3000"
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
networks:
- observable
jeager-all-in-one:
image: jaegertracing/all-in-one:1.29
container_name: jaeger
ports:
- "5775:5775/udp" # UDP port for tchannel
- "6831:6831/udp" # UDP port for gRPC
- "6832:6832/udp" # UDP port for gRPC
- "5778:5778" # HTTP port for service
- "16686:16686" # HTTP port for web UI
- "14268:14268" # HTTP port for collector
- "14250:14250" # HTTP port for gRPC
- "9411:9411" # HTTP port for Zipkin compatible collector
environment:
COLLECTOR_ZIPKIN_HTTP_PORT: 9411
networks:
- observable
mysql:
image: ubuntu/mysql:latest
container_name: mysql
ports:
- "3306:3306"
- "9104:9104"
#command: ["apt-get", "update", "-y"]
environment:
MYSQL_DATABASE: teste
MYSQL_USER: teste
MYSQL_PASSWORD: teste@2024
MYSQL_ROOT_PASSWORD: teste@2024
MYSQLD_EXPORTER_PASSWORD: exporter@2024
volumes:
- ./.docker/mysql:/var/lib/mysql
- ./.docker/mycnf/my.cnf:/home/mycnf/my.cnf
- ./.docker/mysqld_exporter:/opt/mysqld_exporter
networks:
- observable
networks:
observable:
# driver: brigde