-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yaml
executable file
·46 lines (45 loc) · 1.27 KB
/
docker-compose.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
version: "3.3"
services:
cardano-node:
image: inputoutput/cardano-node:1.35.7
volumes:
- cardano-node-db:/data/db
- cardano-node-ipc:/ipc
- ./config:/config
restart: on-failure
command:
- "run"
- "--config /config/mainnet-config.json"
- "--topology /config/mainnet-topology.json"
- "--database-path /data/db"
- "--socket-path /ipc/node.socket"
healthcheck:
# Ping the EKG port to see if it responds.
# Assuming if EKG isn't up then the rest of cardano-node isn't either.
test: ["CMD-SHELL", "curl -f 127.0.0.1:12788 || exit 1"]
interval: 60s
timeout: 10s
retries: 5
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
spectrum-cardano-backend:
image: spectrumlabs/spectrum-cardano-backend:1.0.2
volumes:
- spectrum-backend-volume:/data
- ./config/mainnet:/config
- ${PWD}/myKeys/cypher.json:/etc/wallet1TS.json
- ./scripts:/scripts
- ./dcConfigs/dcSpectrumConfig.dhall:/etc/appConfig.dhall
- cardano-node-ipc:/ipc
restart: on-failure
depends_on:
- cardano-node
command:
- "/etc/appConfig.dhall"
volumes:
cardano-node-db:
cardano-node-ipc:
spectrum-backend-volume: