Skip to content

Commit

Permalink
update readme 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ubuntu committed Jul 27, 2018
1 parent 7c2d204 commit 1d42505
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion autodeploy/readme
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
服务端:

curl -sSL https://get.docker.com/ | sh #一键安装docker
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

0 comments on commit 1d42505

Please sign in to comment.