File tree Expand file tree Collapse file tree 7 files changed +49
-4
lines changed Expand file tree Collapse file tree 7 files changed +49
-4
lines changed Original file line number Diff line number Diff line change @@ -381,6 +381,7 @@ jobs:
381
381
mithril_signers : |
382
382
{
383
383
"1" = {
384
+ type = "unverified"
384
385
pool_id = "pool18r62tz408lkgfu6pq5svwzkh2vslkeg6mf72qf3h8njgvzhx9ce",
385
386
},
386
387
}
Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ jobs:
163
163
mithril_signers : |
164
164
{
165
165
"1" = {
166
+ type = "unverified"
166
167
pool_id = "pool18r62tz408lkgfu6pq5svwzkh2vslkeg6mf72qf3h8njgvzhx9ce",
167
168
},
168
169
}
Original file line number Diff line number Diff line change 79
79
mithril_signers : |
80
80
{
81
81
"1" = {
82
+ type = "unverified"
82
83
pool_id = "pool1zr907nmfsq5kalxdjju349nwg6f03lyfmcjfqcz52jf45gcgh03",
83
84
},
84
85
}
Original file line number Diff line number Diff line change
1
+ # Unverified Mithril Signer node running on top of shared Cardano node (from Mithril Aggregator)
2
+
3
+ version : " 3.9"
4
+
5
+ services :
6
+ mithril-signer :
7
+ image : ghcr.io/input-output-hk/mithril-signer:${IMAGE_ID}
8
+ container_name : mithril-signer-${SIGNER_ID}
9
+ restart : always
10
+ user : ${CURRENT_UID}
11
+ profiles :
12
+ - mithril
13
+ - all
14
+ environment :
15
+ - RUST_BACKTRACE=1
16
+ - AGGREGATOR_ENDPOINT=http://mithril-aggregator:8080/aggregator
17
+ - NETWORK=${NETWORK}
18
+ - PARTY_ID=${PARTY_ID}
19
+ - RUN_INTERVAL=120000
20
+ - DB_DIRECTORY=/mithril-aggregator/cardano/db
21
+ - DATA_STORES_DIRECTORY=/mithril-signer-${SIGNER_ID}/mithril/stores
22
+ - STORE_RETENTION_LIMIT=5
23
+ - CARDANO_NODE_SOCKET_PATH=/ipc/node.socket
24
+ - CARDANO_CLI_PATH=/app/bin/cardano-cli
25
+ volumes :
26
+ - ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/mithril:/mithril-signer-${SIGNER_ID}/mithril
27
+ - ../data/${NETWORK}/mithril-aggregator/cardano/db:/mithril-aggregator/cardano/db
28
+ - ../data/${NETWORK}/mithril-aggregator/cardano/ipc:/ipc
29
+ logging :
30
+ driver : " json-file"
31
+ options :
32
+ max-size : " 100m"
33
+ max-file : " 5"
34
+
35
+ networks :
36
+ default :
37
+ external :
38
+ name : mithril_network
Original file line number Diff line number Diff line change
1
+ # Unverified Mithril Signer node running on top of its own Cardano node
2
+
1
3
version : " 3.9"
2
4
3
5
services :
@@ -47,15 +49,15 @@ services:
47
49
- AGGREGATOR_ENDPOINT=http://mithril-aggregator:8080/aggregator
48
50
- NETWORK=${NETWORK}
49
51
- PARTY_ID=${PARTY_ID}
50
- - RUN_INTERVAL=240000
51
- - DB_DIRECTORY=/db
52
+ - RUN_INTERVAL=120000
53
+ - DB_DIRECTORY=/mithril-signer-${SIGNER_ID}/cardano/ db
52
54
- DATA_STORES_DIRECTORY=/mithril-signer-${SIGNER_ID}/mithril/stores
53
55
- STORE_RETENTION_LIMIT=5
54
56
- CARDANO_NODE_SOCKET_PATH=/ipc/node.socket
55
57
- CARDANO_CLI_PATH=/app/bin/cardano-cli
56
58
volumes :
57
59
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/mithril:/mithril-signer-${SIGNER_ID}/mithril
58
- - ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/db:/db
60
+ - ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/db:/mithril-signer-${SIGNER_ID}/cardano/ db
59
61
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
60
62
logging :
61
63
driver : " json-file"
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ resource "null_resource" "mithril_signer" {
34
34
" export IMAGE_ID=${ var . mithril_image_id } " ,
35
35
" export CURRENT_UID=$(id -u)" ,
36
36
" export DOCKER_GID=$(getent group docker | cut -d: -f3)" ,
37
- " docker-compose -p $SIGNER_ID -f /home/curry/docker/docker-compose-signer-unverified .yaml --profile all up -d" ,
37
+ " docker-compose -p $SIGNER_ID -f /home/curry/docker/docker-compose-signer-${ each . value . type } .yaml --profile all up -d" ,
38
38
]
39
39
}
40
40
}
Original file line number Diff line number Diff line change @@ -119,10 +119,12 @@ variable "mithril_protocol_parameters" {
119
119
120
120
variable "mithril_signers" {
121
121
type = map (object ({
122
+ type = string
122
123
pool_id = string
123
124
}))
124
125
default = {
125
126
" 1" = {
127
+ type = " unverified" ,
126
128
pool_id = " pool15qde6mnkc0jgycm69ua0grwxmmu0tke54h5uhml0j8ndw3kcu9x" ,
127
129
}
128
130
}
You can’t perform that action at this time.
0 commit comments