-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
74 lines (74 loc) · 1.61 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
services:
init-node:
image: ghcr.io/input-output-hk/mithril-client:2450.0-c6c7eba
entrypoint: /app/bin/entrypoint.sh
user: "${UID}:${GID}"
environment:
NETWORK: $NETWORK
UNPACK_DIR: /data
volumes:
- ./nix/mithril-entrypoint.sh:/app/bin/entrypoint.sh
- node-db:/data
cardano-node:
image: ghcr.io/intersectmbo/cardano-node:9.2.0
environment:
- NETWORK=$NETWORK
volumes:
- node-db:/data
- node-ipc:/ipc
restart: on-failure
depends_on:
init-node:
condition: service_completed_successfully
blockfrost-platform:
image: ghcr.io/blockfrost/blockfrost-platform:latest
build:
context: ./
target: runtime
develop:
watch:
- action: rebuild
path: .
init: true
restart: on-failure
ports:
- 3000:3000
profiles: [""]
volumes:
- node-ipc:/ipc
entrypoint:
- /app/blockfrost-platform
- --network
- $NETWORK
- --secret
- $SECRET
- --reward-address
- $REWARD_ADDRESS
- --node-socket-path
- /ipc/node.socket
blockfrost-platform-solitary:
image: ghcr.io/blockfrost/blockfrost-platform:latest
build:
context: ./
target: runtime
develop:
watch:
- action: rebuild
path: .
init: true
restart: on-failure
ports:
- 3000:3000
volumes:
- node-ipc:/ipc
profiles: [solitary]
entrypoint:
- /app/blockfrost-platform
- --network
- $NETWORK
- --solitary
- --node-socket-path
- /ipc/node.socket
volumes:
node-db:
node-ipc: