Update install.sh

This commit is contained in:
vvzvlad 2024-12-18 01:16:36 +03:00
parent 9634a97a55
commit d6b915c28f

View File

@ -37,12 +37,12 @@ curl -sL https://get.docker.com | sudo sh -
mkdir soneium-minato-node
cd soneium-minato-node
openssl rand -hex 32 > jwt.txt
wget "https://gitea.vvzvlad.xyz/vvzvlad/soneium/raw/branch/main/minato-rollup.json" -O minato-rollup.json
wget "https://gitea.vvzvlad.xyz/vvzvlad/soneium/raw/branch/main/minato-genesis.json" -O minato-genesis.json
wget "https://gitea.vvzvlad.xyz/vvzvlad/soneium/raw/branch/main/docker-compose.yml" -O docker-compose.yml
openssl rand -hex 32 > jwt.txt
SERVER_IP=$(curl -s ifconfig.me)
sed -i 's/###IP###/${SERVER_IP}/g' docker-compose.yml
SERVER_IP=$(curl -4 -s ifconfig.me)
sed -i "s/###IP###/${SERVER_IP}/g" docker-compose.yml
docker compose up -d
docker compose logs -f --tail 300