diff --git a/install.sh b/install.sh index c8779ac..80e9ab1 100644 --- a/install.sh +++ b/install.sh @@ -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 \ No newline at end of file