forked from tezedge/tezedge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
27 lines (24 loc) · 917 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
version: "3"
services:
node:
image: tezedge/tezedge:v1.6.10
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
explorer:
image: tezedge/tezedge-explorer:v1.6.7
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