-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose-node.yaml
48 lines (46 loc) · 1.38 KB
/
docker-compose-node.yaml
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
version: '3.8'
services:
mithril:
build:
context: ./docker/dockerfiles/mithril
environment:
- NETWORK=${NETWORK}
- MITHRIL_SYNC=${MITHRIL_SYNC}
- SNAPSHOT_DIGEST=${SNAPSHOT_DIGEST}
- AGGREGATOR_ENDPOINT=${AGGREGATOR_ENDPOINT}
- GENESIS_VERIFICATION_KEY=${GENESIS_VERIFICATION_KEY}
volumes:
- ${CARDANO_NODE_DIR}:/node
cardano-node:
image: ghcr.io/intersectmbo/cardano-node:${CARDANO_NODE_VERSION}
environment:
- NETWORK=${NETWORK}
volumes:
- ${CARDANO_NODE_DIR}:/node/
- ${CARDANO_NODE_DB}:/node/db
- ${CARDANO_CONFIG}:/config
ports:
- ${CARDANO_NODE_PORT}:${CARDANO_NODE_PORT}
entrypoint: cardano-node run --database-path /node/db --port ${CARDANO_NODE_PORT} --socket-path /node/node.socket --topology /config/topology.json --config /config/config.json
depends_on:
mithril:
condition: service_completed_successfully
cardano-submit-api:
image: ghcr.io/intersectmbo/cardano-submit-api:${CARDANO_NODE_VERSION}
environment:
- NETWORK=${NETWORK}
depends_on:
- cardano-node
volumes:
- ${CARDANO_NODE_DIR}:/node-ipc
ports:
- ${NODE_SUBMIT_API_PORT}:8090
restart: on-failure
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
networks:
default:
name: cardano-rosetta-java-${NETWORK}