-
-
Notifications
You must be signed in to change notification settings - Fork 92
/
docker-compose.yml
41 lines (38 loc) · 1017 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: ghcr.io/intersectmbo/cardano-node:10.1.3
command: [
"run",
"--config", "/config/config.json",
"--database-path", "/data/db",
"--socket-path", "/ipc/node.socket",
"--topology", "/config/topology.json"
]
volumes:
- ./server/config/network/${NETWORK:-mainnet}/cardano-node:/config
- ./server/config/network/${NETWORK:-mainnet}/genesis:/genesis
- node-db:/data
- node-ipc:/ipc
restart: on-failure
logging:
driver: "json-file"
options:
max-size: "400k"
max-file: "20"
ogmios:
image: cardanosolutions/ogmios:latest
restart: on-failure
command: [
"--host", "0.0.0.0",
"--node-socket", "/ipc/node.socket",
"--node-config", "/config/cardano-node/config.json"
]
volumes:
- ./server/config/network/${NETWORK:-mainnet}:/config
- node-ipc:/ipc
ports:
- ${OGMIOS_PORT:-1337}:1337
volumes:
node-db:
node-ipc: