-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (52 loc) · 1.23 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
services:
eosio:
build: .
container_name: eosio_pull_api_node
ports:
- "8888:8888"
- "9876:9876"
- "9101:9101" # metrics for prometheus
volumes:
- eos_data:/mnt/dev/data
- ./config.ini:/mnt/dev/config.ini:ro
environment:
- NODEOS_LOG_LEVEL=info
networks:
- eosio_network
restart: always
prometheus:
image: prom/prometheus
volumes:
- ./prometheus/:/etc/prometheus/
- prom_data:/prometheus
depends_on:
- eosio
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
ports:
- 9090:9090
restart: always
grafana:
restart: always
image: grafana/grafana
user: '472'
depends_on:
- eosio
- prometheus
ports:
- 6000:3000
volumes:
- grafanadata:/var/lib/grafanadata
- ./grafana/provisioning/:/etc/grafana/provisioning/
env_file:
- ./grafana/config.monitoring
volumes:
prom_data:
grafanadata:
eos_data:
networks:
eosio_network:
name: eosio_network