Docker compose to create a IoTeX node (testnet)
The compose has:
- iotex-core image
- iotex-explorer image
- iotex-wallet image
copy the file config.template.yml
into config.yml
and edit it. You must change using yoir public ip
docker-compose up -d
curl -X POST --data '{"jsonrpc":"2.0","method":"Explorer.getBlockchainHeight","params":[],"id":"1"}' 127.0.0.1:14004
{"jsonrpc":"2.0","id":"1","result":231746}
You can open the explorer using this url: http://YOUR IP ADDRESS:4004/