forked from CardanoSolutions/ogmios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (42 loc) · 1.09 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
version: "3.5"
services:
cardano-node:
image: ghcr.io/intersectmbo/cardano-node:8.9.0
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
build:
context: .
target: ogmios
cache_from: [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: