-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
41 lines (37 loc) · 958 Bytes
/
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
version: "3.5"
services:
cardano-node:
image: inputoutput/cardano-node:1.35.4
environment:
NETWORK:
volumes:
- ikar-node-db:/data
- node-ipc:/ipc
restart: on-failure
cardano-wallet:
image: inputoutput/cardano-wallet:2023.4.14
volumes:
- ikar-wallet-db:/wallet-db
- node-ipc:/ipc
ports:
- 8090:8090
entrypoint: []
command: bash -c "
([[ $$NETWORK == \"mainnet\" ]] && $$CMD --mainnet) ||
($$CMD --testnet /config/${NETWORK}/genesis-byron.json)
"
environment:
CMD: "cardano-wallet serve --node-socket /ipc/node.socket --database /wallet-db --listen-address 0.0.0.0"
NETWORK:
restart: on-failure
icarus:
image: piotrstachyra/icarus:v2023-04-14
network_mode: "host"
restart: on-failure
volumes:
ikar-node-db:
name: ikar-node-${NETWORK}-db
ikar-wallet-db:
name: ikar-wallet-${NETWORK}-db
node-ipc:
node-config: