-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
51 lines (51 loc) · 1.68 KB
/
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
42
43
44
45
46
47
48
49
50
51
version: '3.8'
services:
sor:
image: ghcr.io/geniusyield/smart-order-router:latest
container_name: sor
environment:
BOTC_SKEY: |
{"cborHex": "$PAYMENT_SIGNING_KEY_CBOR_HEX", "type": "PaymentSigningKeyShelley_ed25519", "description": "Payment Signing Key"}
BOTC_COLLATERAL: "$COLLATERAL_UTXO_REF"
BOTC_CONFIG: |
{"coreProvider": { "socketPath": "/ipc/node.socket", "kupoUrl": "kupo:1442" }, "networkId": "${NETWORK-mainnet}", "logging": [{ "type": { "tag": "stderr" }, "severity": "Info", "verbosity": "V2" }]}
restart: always
volumes: [node-ipc:/ipc]
depends_on:
kupo: { condition: service_healthy }
node: { condition: service_healthy }
kupo:
image: cardanosolutions/kupo
container_name: kupo
volumes: [node-ipc:/ipc, ./cardano-configurations/network:/network]
ports: ['1442:1442']
depends_on: { node: { condition: service_healthy } }
command: [
--node-socket, /ipc/node.socket,
--since, origin,
--match, "*",
--host, "0.0.0.0",
--node-config, "/network/${NETWORK-mainnet}/cardano-node/config.json",
--in-memory,
--prune-utxo,
]
healthcheck:
test: ["CMD", "/bin/kupo", "health-check"]
interval: 30s
timeout: 10s
retries: 100
node:
image: "ghcr.io/intersectmbo/cardano-node:8.7.3"
container_name: node
environment:
- NETWORK=${NETWORK-mainnet}
volumes: ["${NETWORK-mainnet}-node-db:/data/db", node-ipc:/ipc]
healthcheck:
test: ["CMD", "test", "-S", "/ipc/node.socket"]
interval: 30s
timeout: 10s
retries: 100
volumes:
preprod-node-db: null
mainnet-node-db: null
node-ipc: null