-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
84 lines (75 loc) · 1.77 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
version: '3.7'
services:
mariadb:
build:
context: ./data
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
ports:
- '3306:3306'
migration:
build:
context: .
dockerfile: Dockerfile.migration
args:
DATABASE_URL: mysql://myuser:mypassword@mariadb:3306/gauge@gauge
restart: on-failure
depends_on:
- mariadb
gauge:
build:
context: .
environment:
LOG_LEVEL: "info"
TRACING_ENABLED: "true"
depends_on:
- mariadb
- migration
restart: on-failure
ports:
- '80:80'
prometheus:
image: prom/prometheus:latest
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
grafana:
image: grafana/grafana:latest
volumes:
- ./grafana/grafana.ini:/etc/grafana/grafana.ini
- ./grafana/datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml
- ./grafana/dashboard.yaml:/etc/grafana/provisioning/dashboards/dashboard.yaml
- ./grafana/dashboards/general:/etc/grafana/provisioning/dashboards/general
ports:
- "3000:3000"
links:
- prometheus
node-exporter:
image: prom/node-exporter:latest
container_name: monitoring_node_exporter
restart: unless-stopped
expose:
- 9100
jaeger:
image: jaegertracing/all-in-one:1.33
restart: unless-stopped
environment:
COLLECTOR_ZIPKIN_HOST_PORT: ":9411"
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "14250:14250"
- "14268:14268"
- "14269:14269"
- "9411:9411"
drill:
build:
context: .
dockerfile: Dockerfile.drill
restart: on-failure
depends_on:
- gauge