-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.juno.yml
111 lines (105 loc) · 2.82 KB
/
docker-compose.juno.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "3.8"
services:
ipfs:
image: "ipfs/kubo:v0.15.0"
ports:
- "5001:5001"
volumes:
- "./data/ipfs:/data/ipfs"
postgres:
image: "postgres:14"
command:
- "postgres"
- "-cshared_preload_libraries=pg_stat_statements"
environment:
POSTGRES_USER: "graph-node"
POSTGRES_PASSWORD: "let-me-in"
POSTGRES_DB: "graph-node"
POSTGRES_INITDB_ARGS: "--locale=C --encoding=UTF-8"
PGDATA: "/data/postgres"
volumes:
- "./data/postgres:/var/lib/postgresql/data"
firehose-reader:
image: "starknet/firestark:0.2.3-juno-0.11.4"
user: "root"
command:
- "--config-file"
- ""
- "start"
- "reader-node"
- "--common-one-block-store-url"
- "file:///firehose-data/storage/one-blocks"
- "--reader-node-path"
- "juno"
- "--reader-node-arguments"
- "--db-path /juno-data --eth-node ${ETHEREUM_URL} --network mainnet"
volumes:
- "./data/firehose:/firehose-data"
- "./data/juno:/juno-data"
firehose-merger:
image: "starknet/firestark:0.2.3"
command:
- "--config-file"
- ""
- "start"
- "merger"
- "--common-one-block-store-url"
- "file:///firehose-data/storage/one-blocks"
- "--common-merged-blocks-store-url"
- "file:///firehose-data/storage/merged-blocks"
- "--common-forked-blocks-store-url"
- "file:///firehose-data/storage/forked-blocks"
volumes:
- "./data/firehose:/firehose-data"
firehose-relayer:
image: "starknet/firestark:0.2.3"
command:
- "--config-file"
- ""
- "start"
- "relayer"
- "--common-one-block-store-url"
- "file:///firehose-data/storage/one-blocks"
- "--relayer-source"
- "firehose-reader:10010"
volumes:
- "./data/firehose:/firehose-data"
depends_on:
- "firehose-reader"
firehose:
image: "starknet/firestark:0.2.3"
command:
- "--config-file"
- ""
- "start"
- "firehose"
- "--common-one-block-store-url"
- "file:///firehose-data/storage/one-blocks"
- "--common-merged-blocks-store-url"
- "file:///firehose-data/storage/merged-blocks"
- "--common-forked-blocks-store-url"
- "file:///firehose-data/storage/forked-blocks"
- "--common-live-blocks-addr"
- "firehose-relayer:10014"
volumes:
- "./data/firehose:/firehose-data"
depends_on:
- "firehose-relayer"
graph-node:
image: "starknet/graph-node:nightly"
ports:
- "8000:8000"
- "8001:8001"
- "8020:8020"
- "8030:8030"
- "8040:8040"
environment:
GRAPH_LOG: "info"
GRAPH_NODE_CONFIG: "/config.toml"
ipfs: "ipfs:5001"
volumes:
- "./config.toml:/config.toml:ro"
depends_on:
- "ipfs"
- "postgres"
- "firehose"