ServerStatus/autodeploy
ubuntu 1cc13d337f update readme 2 2018-07-27 12:28:25 +08:00
..
Dockerfile 一键安装服务端和客户端 2018-07-27 12:12:00 +08:00
config.json 一键安装服务端和客户端 2018-07-27 12:12:00 +08:00
readme update readme 2 2018-07-27 12:28:25 +08:00

readme

服务端:

docker build -f Dockerfile -t sss .
docker run -d --restart=always --name=sss -v {$path}/config.json:/ServerStatus/server/config.json -p {$port}:80 -p {$port}:35601 sss

客户端:

wget --no-check-certificate -qO client-linux.py 'https://raw.githubusercontent.com/cppla/ServerStatus/master/clients/client-linux.py' && nohup python client-linux.py SERVER={$SERVER} USER={$USER}  >/dev/null 2>&1 &


docker安装:

curl -sSL https://get.docker.com/ | sh