14 lines
516 B
Text
14 lines
516 B
Text
|
#!/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
|