forked from multiversx/mx-chain-rosetta-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-devnet.yml
59 lines (55 loc) · 2.49 KB
/
docker-compose-devnet.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
version: '3'
services:
elrond-rosetta-observer-devnet:
ulimits:
nproc: 65535
image: elrond-rosetta:latest
container_name: elrond-rosetta-observer-devnet
ports:
- "${PORT_OBSERVER}:8080"
- "${PORT_P2P}:37373"
volumes:
- ${DATA_FOLDER_OBSERVER}:/data
env_file:
- devnet.env
environment:
- NETWORK=devnet
- PROGRAM=node
- DOWNLOAD_CHAIN_ID=D
command: --destination-shard-as-observer=${OBSERVER_ACTUAL_SHARD} --log-save --log-level=${LOG_LEVEL} --log-logger-name --rest-api-interface=0.0.0.0:8080 --working-directory=/data --validator-key-pem-file=/data/observerKey.pem --serialize-snapshots --disable-consensus-watchdog
networks:
elrond-rosetta-devnet:
ipv4_address: 11.0.0.10
elrond-rosetta-online-devnet:
image: elrond-rosetta:latest
container_name: elrond-rosetta-online-devnet
ports:
- "${PORT_ROSETTA_ONLINE}:8080"
volumes:
- ${DATA_FOLDER_ROSETTA_ONLINE}:/data
environment:
- NETWORK=devnet
- PROGRAM=rosetta
command: --port 8080 --observer-http-url=http://11.0.0.10:8080 --blockchain=${BLOCKCHAIN_NAME} --network-id=D --network-name=devnet --num-shards=3 --observer-actual-shard=${OBSERVER_ACTUAL_SHARD} --observer-projected-shard=${OBSERVER_PROJECTED_SHARD} --genesis-block=${GENESIS_BLOCK} --genesis-timestamp=${GENESIS_TIMESTAMP} --first-historical-epoch=${FIRST_HISTORICAL_EPOCH} --num-historical-epochs=${NUM_HISTORICAL_EPOCHS} --native-currency=EGLD --logs-folder=/data
networks:
elrond-rosetta-devnet:
ipv4_address: 11.0.0.21
elrond-rosetta-offline-devnet:
image: elrond-rosetta:latest
container_name: elrond-rosetta-offline-devnet
ports:
- "${PORT_ROSETTA_OFFLINE}:8080"
volumes:
- ${DATA_FOLDER_ROSETTA_OFFLINE}:/data
environment:
- NETWORK=devnet
- PROGRAM=rosetta
command: --port 8080 --offline --observer-http-url=http://nowhere.localhost.local --blockchain=${BLOCKCHAIN_NAME} --network-id=D --network-name=devnet --num-shards=3 --observer-actual-shard=${OBSERVER_ACTUAL_SHARD} --observer-projected-shard=${OBSERVER_PROJECTED_SHARD} --genesis-block=${GENESIS_BLOCK} --genesis-timestamp=${GENESIS_TIMESTAMP} --first-historical-epoch=${FIRST_HISTORICAL_EPOCH} --num-historical-epochs=${NUM_HISTORICAL_EPOCHS} --native-currency=EGLD --logs-folder=/data
networks:
elrond-rosetta-devnet:
ipv4_address: 11.0.0.22
networks:
elrond-rosetta-devnet:
ipam:
config:
- subnet: 11.0.0.0/24