-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
executable file
·46 lines (41 loc) · 1.25 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
version: '3'
services:
nginx:
image: nginx:1.25.4
ports:
- "5555:80"
volumes:
- ./nginx_reverse_proxy.conf:/etc/nginx/conf.d/default.conf:ro
- ./store/static/files:/static:ro
links:
- node
graphite:
image: graphiteapp/graphite-statsd:1.1.10-5
volumes:
- ./statsd.config.js:/opt/statsd/config/udp.js
- ./graphite.storage-schemas.conf:/opt/graphite/conf/storage-schemas.conf
ports:
- "8090:80"
- "8125:8125/udp"
- "8126:8126"
grafana:
image: grafana/grafana:10.1.9
ports:
- "80:3000"
volumes:
- "grafana_config:/var/lib/grafana"
cadvisor:
image: gcr.io/cadvisor/cadvisor:v0.49.1
links:
- graphite
command: -storage_driver="statsd" -storage_driver_host="graphite:8125" -storage_driver_db="cadvisor" -storage_driver_buffer_duration="1s" --docker_only=true
ports:
- "8080:8080"
volumes:
- "/:/rootfs:ro"
- "/var/run:/var/run:rw"
- "/sys:/sys:ro"
- "/var/lib/docker/:/var/lib/docker:ro"
volumes:
grafana_config:
driver: local