XinFinOrg / XinFin-Node

Setup XinFin Masternode using Docker
https://xinfin.org/setup-masternode.php
63 stars 51 forks source link

The docker for XinFin can't start #142

Open zhangqichuan opened 3 months ago

zhangqichuan commented 3 months ago

xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet

gzliudan commented 3 months ago

How to reproduce this error ?

zhangqichuan commented 3 months ago

Execute following commands:


git clone https://github.com/XinFinOrg/XinFin-Node.git
cd XinFin-Node
./setup/install_docker.sh
cd mainnet
cat   >.env<<EOF
INSTANCE_NAME=xxxxxxxtttttttttttttttttttt
CONTACT_DETAILS=a@qq.com
NODE_TYPE=full 
EOF
docker-compose -f docker-compose.yml up 
mainnet_xinfinnetwork_1 is up-to-date
Attaching to mainnet_xinfinnetwork_1
xinfinnetwork_1  | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1  | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1  | NETWORK env Must be set, mainnet/testnet/devnet
gzliudan commented 3 months ago

Please try to start with below commands:

cd XinFin-Node/mainnet

# modify file .env
vi .env

./docker-up.sh