Skip to content

Commit cc5ca55

Browse files
committed
Update 'docker-compose.yaml' in infra
Remove unusable 'mithril-aggregator-genesis' node and use 'mithril-aggregator' node to bootstrap genesis certificate instead
1 parent b2704e1 commit cc5ca55

File tree

1 file changed

+1
-47
lines changed

1 file changed

+1
-47
lines changed

mithril-infra/docker-compose.yaml

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ services:
6969
- CARDANO_NODE_SOCKET_PATH=/ipc/node.socket
7070
- CARDANO_CLI_PATH=/app/bin/cardano-cli
7171
- GENESIS_VERIFICATION_KEY=${GENESIS_VERIFICATION_KEY}
72+
- GENESIS_SECRET_KEY=${GENESIS_SECRET_KEY}
7273
volumes:
7374
- ./${NETWORK}/mithril-aggregator:/mithril-aggregator
7475
- ./${NETWORK}/node.db:/db
@@ -97,53 +98,6 @@ services:
9798
- 'traefik.http.routers.my-app.tls=true'
9899
- 'traefik.http.routers.my-app.tls.certresolver=lets-encrypt'
99100

100-
mithril-aggregator-genesis:
101-
image: ghcr.io/input-output-hk/mithril-aggregator:${IMAGE_ID:-latest}
102-
restart: always
103-
user: ${CURRENT_UID}
104-
profiles:
105-
- mithril-genesis
106-
environment:
107-
- RUST_BACKTRACE=1
108-
- NETWORK_MAGIC=1097911063
109-
- GOOGLE_APPLICATION_CREDENTIALS_JSON=${GOOGLE_APPLICATION_CREDENTIALS_JSON}
110-
- NETWORK=${NETWORK:-testnet}
111-
- PROTOCOL_PARAMETERS__K=5
112-
- PROTOCOL_PARAMETERS__M=100
113-
- PROTOCOL_PARAMETERS__PHI_F=0.65
114-
- RUN_INTERVAL=60000
115-
- URL_SNAPSHOT_MANIFEST=https://storage.googleapis.com/cardano-${NETWORK:-testnet}/snapshots.json
116-
- SNAPSHOT_STORE_TYPE=local
117-
- SNAPSHOT_UPLOADER_TYPE=gcp
118-
- DATA_STORES_DIRECTORY=/mithril-aggregator
119-
- CARDANO_NODE_SOCKET_PATH=/ipc/node.socket
120-
- CARDANO_CLI_PATH=/app/bin/cardano-cli
121-
- GENESIS_VERIFICATION_KEY=${GENESIS_VERIFICATION_KEY}
122-
- GENESIS_SECRET_KEY=${GENESIS_SECRET_KEY}
123-
volumes:
124-
- ./testnet/mithril-aggregator:/mithril-aggregator
125-
- ./testnet/node.db:/db
126-
- ./ipc:/ipc
127-
ports:
128-
- "8080:8080"
129-
command:
130-
[
131-
"--db-directory",
132-
"/db",
133-
"--snapshot-directory",
134-
"/mithril-aggregator/snapshots",
135-
"--server-port",
136-
"8080",
137-
"-vvv",
138-
"genesis",
139-
"bootstrap"
140-
]
141-
logging:
142-
driver: "json-file"
143-
options:
144-
max-size: "100m"
145-
max-file: "5"
146-
147101
mithril-signer-0:
148102
image: ghcr.io/input-output-hk/mithril-signer:${IMAGE_ID:-latest}
149103
restart: always

0 commit comments

Comments
 (0)