-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 841 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 841 Bytes
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
services:
tinycache:
build:
context: .
dockerfile: Dockerfile
image: tinycache:latest
container_name: tinycache
ports:
- "8080:8080"
networks:
- tiny-net
prometheus:
image: prom/prometheus:latest
container_name: prometheus
volumes:
- ./src/metrics/prometheus.yml:/etc/prometheus/prometheus.yml:ro
ports:
- "9090:9090"
networks:
- tiny-net
depends_on:
- tinycache
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
networks:
- tiny-net
depends_on:
- prometheus
volumes:
- grafana-storage:/var/lib/grafana
- ./observability/provisioning:/etc/grafana/provisioning
- ./observability/grafana/dashboards:/var/lib/grafana/dashboards
networks:
tiny-net: