-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
69 lines (63 loc) · 1.63 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
version: '3.8'
services:
prometheus:
container_name: prometheus
build:
context: prometheus
args:
ENVIRONMENT: local
restart: unless-stopped
ports:
- "9090:9090"
command:
- --config.file=/etc/prometheus/prometheus.yml
# Alert manager is set up to send alert to slack, change the slack channel on alertmanager/config/alertmanager-local.yml and change 'api_url' to enable this
alertmanager:
container_name: alertmanager
build:
context: alertmanager
args:
ENVIRONMENT: local
restart: unless-stopped
ports:
- "9093:9093"
command:
- --config.file=/etc/alertmanager/alertmanager.yml
# default user and password: admin
grafana:
container_name: grafana
build: grafana
restart: unless-stopped
depends_on:
# - loki
- prometheus
# - tempo
ports:
- "3000:3000"
volumes:
- ./grafana/provisioning/:/etc/grafana/provisioning/
# tempo:
# image: grafana/tempo:1.2.0
# container_name: tempo
# command: -config.file /etc/tempo-config.yml
# volumes:
# - ./tempo/tempo.yml:/etc/tempo-config.yml
# ports:
# - "3101:3100" # Tempo
# - "9411:9411" # Zipkin
# loki:
# image: grafana/loki:2.4.0
# container_name: loki
# depends_on:
# - fluent-bit
# ports:
# - "3100:3100"
# fluent-bit:
# image: grafana/fluent-bit-plugin-loki:2.4.0-amd64
# container_name: fluent-bit
# ports:
# - "24224:24224"
# environment:
# - LOKI_URL=http://loki:3100/loki/api/v1/push
# volumes:
# - ./fluent-bit/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf