mirror of
https://github.com//cppla/ServerStatus
synced 2025-12-13 11:32:13 +08:00
Merge branch 'dev'
This commit is contained in:
10
README.md
10
README.md
@@ -6,7 +6,7 @@
|
||||
[](https://github.com/cppla/ServerStatus)
|
||||
[](https://github.com/cppla/ServerStatus)
|
||||
[](https://github.com/cppla/ServerStatus)
|
||||
[](https://github.com/cppla/ServerStatus)
|
||||
[](https://github.com/cppla/ServerStatus)
|
||||
|
||||

|
||||
|
||||
@@ -26,13 +26,9 @@
|
||||
`x86_64`: docker pull cppla/serverstatus:latest
|
||||
`arm64`: docker pull cppla/serverstatus:arm
|
||||
|
||||
mkdir /serverstatus && cd /serverstatus && wget https://raw.githubusercontent.com/cppla/ServerStatus/master/autodeploy/config.json
|
||||
docker run -d --restart=always --name=serverstatus -v /serverstatus/config.json:/ServerStatus/server/config.json -v /serverstatus/json:/usr/share/nginx/html/json -p 80:80 -p 35601:35601 cppla/serverstatus:latest
|
||||
|
||||
wget https://raw.githubusercontent.com/cppla/ServerStatus/master/autodeploy/config.json
|
||||
docker run -d --restart=always --name=serverstatus -v {$path}/config.json:/ServerStatus/server/config.json -p {$port}:80 -p {$port}:35601 cppla/serverstatus:latest
|
||||
|
||||
eg:
|
||||
docker run -d --restart=always --name=serverstatus -v ~/config.json:/ServerStatus/server/config.json -p 80:80 -p 35601:35601 cppla/serverstatus:latest
|
||||
|
||||
```
|
||||
|
||||
【客户端】:
|
||||
|
||||
Reference in New Issue
Block a user