forked from trilitech/tezedge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
29 lines (26 loc) · 981 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
version: "3"
services:
node:
image: tezedge/tezedge:v3.1.1
command: ["--network=mainnet", "--p2p-port=9732", "--rpc-port=18732", "--websocket-address=0.0.0.0:4927", "--peer-thresh-low", "30", "--peer-thresh-high", "45", "--tezos-context-storage=${TEZOS_CONTEXT_STORAGE:-irmin}"]
hostname: node
ports:
- "4927:4927"
- "19732:9732"
- "18732:18732"
networks:
- default
tty: true
environment:
- TEZOS_CONTEXT=index-log-size=2_500_000
explorer:
image: tezedge/tezedge-explorer:v2.2.3
hostname: explorer
environment:
- API=[{"id":"${NODE_HOSTNAME_OR_IP:-localhost}","name":"rust.dev.mainnet.localhost","http":"http://${NODE_HOSTNAME_OR_IP:-localhost}:18732","p2p_port":9732,"features":[{"name":"ws","url":"ws://${NODE_HOSTNAME_OR_IP:-localhost}:4927"},{"name":"monitoring"},{"name":"mempool"},{"name":"storage"}]}]
ports:
- "80:80"
- "8080:80"
networks:
- default
tty: true