-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·60 lines (52 loc) · 1.5 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
version: '2'
services:
node:
build: ./app
nginx:
image: nginx:1.23.1
ports:
- "5555:80"
volumes:
- ./nginx_reverse_proxy.conf:/etc/nginx/conf.d/default.conf:ro
- ./store/static/files:/static:ro
links:
- node
bbox:
image: arqsoft/bbox:202202.1
ports:
- "9090:9090"
- "9091:9091"
volumes:
- ./bbox_service_config.properties:/opt/bbox/config.properties
links:
- node
graphite:
image: graphiteapp/graphite-statsd:1.1.10-3
volumes:
- ./statsd.config.js:/opt/statsd/config.js
- ./graphite.storage-schemas.conf:/opt/graphite/conf/storage-schemas.conf
ports:
- "8090:80"
- "8125:8125/udp"
- "8126:8126"
grafana:
image: grafana/grafana:9.1.2
ports:
- "81:3000"
volumes:
- "grafana_config:/var/lib/grafana"
cadvisor:
image: gcr.io/cadvisor/cadvisor:v0.45.0
links:
- graphite
command: -storage_driver="statsd" -storage_driver_host="graphite:8125" -storage_driver_db="cadvisor" -storage_driver_buffer_duration="1s"
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