Tyleo-Scripts/irp-kuma

14 lines
516 B
Text
Raw Normal View History

2024-02-18 18:06:30 +00:00
#!/usr/bin/env bash
curl https://static.tyleodev.fr/astra/banner-all
sudo mkdir /store
sudo mkdir /store/supervision
echo " Uptime Kuma Instance Maker - Normal Node (no docker.sock connection) "
echo ""
echo -n "Instance Name (no space) : "
read instname
echo -n "Port (Random port is default) : "
read instport
docker volume create uptime-kuma-$instname
docker run -d --restart=always -p $instport:3001 -v /store/supervision/uptime-kuma-$instname:/app/data --name uptime-kuma-$instname louislam/uptime-kuma:latest