forked from tezedge/tezedge
-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.storage.memory.yml
35 lines (30 loc) · 1.48 KB
/
docker-compose.storage.memory.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
version: "3"
services:
tezedge-with-memory-storage:
image: tezedge/tezedge:v3.1.1
pid: host
network_mode: host
command: [ "--network=mainnet", "--p2p-port=5554", "--rpc-port=5555", "--websocket-address=0.0.0.0:5556", "--peer-thresh-low", "30", "--peer-thresh-high", "45", "--tezos-context-storage=tezedge", "--context-stats-db-path", "context-stats-db", "--context-kv-store", "inmem"]
hostname: tezedge-with-memory-storage
tty: true
volumes:
- "tezedge-with-memory-storage-data:/tmp/tezedge"
tezedge-explorer-with-memory-storage:
image: tezedge/tezedge-explorer:v2.2.3
hostname: tezedge-explorer-with-memory-storage
environment:
- API=[{"id":"tezedge-with-memory-storage","name":"tezedge-with-memory-storage","http":"http://${NODE_HOSTNAME_OR_IP:-localhost}:5555","p2p_port":5554,"features":[{"name":"ws","url":"ws://${NODE_HOSTNAME_OR_IP:-localhost}:5556"},{"name":"monitoring"},{"name":"resources/storage"},{"name":"mempool"},{"name":"storage"},{"name":"resources/system","monitoringUrl":"http://${NODE_HOSTNAME_OR_IP:-localhost}:5557/resources/tezedge"}]}]
ports:
- "8282:80"
tty: true
monitoring:
privileged: true
network_mode: host
image: tezedge/node-monitoring:v3.1.1
pid: "host"
command: ["--tezedge-nodes", "tezedge:5555:/tmp/tezedge", "--wait-for-nodes", "--rpc-port", "5557"]
volumes:
- "tezedge-with-memory-storage-data:/tmp/tezedge"
volumes:
tezedge-with-memory-storage-data:
external: false