File tree Expand file tree Collapse file tree 13 files changed +72
-37
lines changed Expand file tree Collapse file tree 13 files changed +72
-37
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ services:
17
17
logging :
18
18
driver : " ${LOGGING_DRIVER}"
19
19
volumes :
20
- - ./cardano-configurations/network /${NETWORK}:/config
20
+ - ../data/${NETWORK}/mithril-aggregator/cardano/config /${NETWORK}:/config
21
21
- ../data/${NETWORK}/mithril-aggregator/cardano/db:/db
22
22
- ../data/${NETWORK}/mithril-aggregator/cardano/ipc:/ipc
23
23
environment :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ services:
17
17
logging :
18
18
driver : " ${LOGGING_DRIVER}"
19
19
volumes :
20
- - ./cardano-configurations/network /${NETWORK}:/config
20
+ - ../data/${NETWORK}/mithril-aggregator/cardano/config /${NETWORK}:/config
21
21
- ../data/${NETWORK}/mithril-aggregator/cardano/db:/db
22
22
- ../data/${NETWORK}/mithril-aggregator/cardano/ipc:/ipc
23
23
environment :
Original file line number Diff line number Diff line change @@ -6,14 +6,15 @@ services:
6
6
container_name : prometheus
7
7
profiles :
8
8
- tools
9
+ - monitoring
9
10
- all
10
11
ports :
11
12
- " 9090:9090"
12
13
command :
13
14
- --config.file=/etc/prometheus/prometheus.yml
14
15
volumes :
15
16
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
16
- - ./prometheus/targets .json:/etc/prometheus/targets .json:ro
17
+ - ./prometheus/cardano .json:/etc/prometheus/cardano .json:ro
17
18
labels :
18
19
- ' traefik.enable=true'
19
20
- ' traefik.http.routers.prometheus.rule=Host(`${PROMETHEUS_HOST}`)'
@@ -25,6 +26,10 @@ services:
25
26
node-exporter :
26
27
image : prom/node-exporter:latest
27
28
container_name : node-exporter
29
+ profiles :
30
+ - tools
31
+ - monitoring
32
+ - all
28
33
restart : unless-stopped
29
34
volumes :
30
35
- /proc:/host/proc:ro
@@ -37,10 +42,11 @@ services:
37
42
- ' --collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
38
43
39
44
promtail :
40
- image : grafana/promtail:1.4.1
45
+ image : grafana/promtail:latest
41
46
container_name : promtail
42
47
profiles :
43
48
- tools
49
+ - monitoring
44
50
- all
45
51
volumes :
46
52
- /var/lib/docker/containers:/var/lib/docker/containers
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ version: "3.9"
5
5
services :
6
6
cardano-node-signer :
7
7
image : cardano-node/${CARDANO_IMAGE_ID}-modified
8
- container_name : cardano-node-signer-${SIGNER_ID}
8
+ container_name : cardano-node-full- signer-${SIGNER_ID}
9
9
restart : always
10
10
build :
11
11
context : .
@@ -19,7 +19,7 @@ services:
19
19
logging :
20
20
driver : " ${LOGGING_DRIVER}"
21
21
volumes :
22
- - ./cardano-configurations/network /${NETWORK}:/config
22
+ - ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/config/full /${NETWORK}:/config
23
23
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/db/passive:/db
24
24
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
25
25
environment :
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ version: "3.9"
5
5
services :
6
6
cardano-node-signer :
7
7
image : cardano-node/${CARDANO_IMAGE_ID}-modified
8
- container_name : cardano-node-signer-${SIGNER_ID}
8
+ container_name : cardano-node-full- signer-${SIGNER_ID}
9
9
restart : always
10
10
build :
11
11
context : .
@@ -19,7 +19,7 @@ services:
19
19
logging :
20
20
driver : " ${LOGGING_DRIVER}"
21
21
volumes :
22
- - ./cardano-configurations/network /${NETWORK}:/config
22
+ - ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/config/full /${NETWORK}:/config
23
23
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/db/passive:/db
24
24
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
25
25
environment :
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ services:
19
19
logging :
20
20
driver : " ${LOGGING_DRIVER}"
21
21
volumes :
22
- - ./cardano-configurations/network /${NETWORK}:/config
22
+ - ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/config/relay /${NETWORK}:/config
23
23
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/db/relay:/db
24
24
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
25
25
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/pool:/pool
@@ -58,7 +58,7 @@ services:
58
58
logging :
59
59
driver : " ${LOGGING_DRIVER}"
60
60
volumes :
61
- - ./cardano-configurations/network /${NETWORK}:/config
61
+ - ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/config/block-producer /${NETWORK}:/config
62
62
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/db/block-producer:/db
63
63
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
64
64
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/pool:/pool
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ services:
19
19
logging :
20
20
driver : " ${LOGGING_DRIVER}"
21
21
volumes :
22
- - ./cardano-configurations/network /${NETWORK}:/config
22
+ - ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/config/relay /${NETWORK}:/config
23
23
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/db/relay:/db
24
24
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
25
25
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/pool:/pool
@@ -58,7 +58,7 @@ services:
58
58
logging :
59
59
driver : " ${LOGGING_DRIVER}"
60
60
volumes :
61
- - ./cardano-configurations/network /${NETWORK}:/config
61
+ - ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/config/block-producer /${NETWORK}:/config
62
62
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/db/block-producer:/db
63
63
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
64
64
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/pool:/pool
Original file line number Diff line number Diff line change
1
+ []
Original file line number Diff line number Diff line change @@ -2,18 +2,22 @@ global:
2
2
scrape_interval : 15s
3
3
evaluation_interval : 15s
4
4
5
- rule_files :
6
- # - "first_rules.yml"
7
- # - "second_rules.yml"
8
-
9
5
scrape_configs :
10
6
- job_name : ' prometheus'
11
7
static_configs :
12
8
- targets : ['prometheus:9090']
13
9
14
- - job_name : ' targets-discovery'
10
+ - job_name : ' node-exporter'
11
+ static_configs :
12
+ - targets : ['node-exporter:9100']
13
+
14
+ - job_name : ' reverse-proxy'
15
+ static_configs :
16
+ - targets : ['reverse-proxy:8080']
17
+
18
+ - job_name : ' cardano-nodes'
15
19
file_sd_configs :
16
20
- files :
17
- - ' targets .json'
21
+ - ' cardano .json'
18
22
19
23
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments