-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfull_obs_stack.yaml
More file actions
57 lines (53 loc) · 1.28 KB
/
full_obs_stack.yaml
File metadata and controls
57 lines (53 loc) · 1.28 KB
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
services:
loki:
image: grafana/loki:3.5.0
container_name: loki
ports:
- "3100:3100"
volumes:
- ./loki-config.yaml:/etc/loki/config.yaml:ro
- loki-data:/loki
command: -config.file=/etc/loki/config.yaml
restart: unless-stopped
networks:
- observability
prometheus:
image: prom/prometheus:latest
container_name: prometheus
ports:
- "9090:9090"
volumes:
- ./prometheus.yaml:/etc/prometheus/prometheus.yml:ro
- prometheus-data:/prometheus
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus
- --storage.tsdb.retention.time=30d
- --web.enable-remote-write-receiver
restart: unless-stopped
networks:
- observability
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
volumes:
- grafana-data:/var/lib/grafana
- ./grafana/provisioning:/etc/grafana/provisioning:ro
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=Grafana-123
restart: unless-stopped
networks:
- observability
depends_on:
- loki
- prometheus
volumes:
loki-data:
prometheus-data:
grafana-data:
networks:
observability:
driver: bridge