mirror of
https://github.com//cppla/ServerStatus
synced 2025-07-16 15:02:20 +08:00
command
This commit is contained in:
parent
4c2bcfbe20
commit
77443663d6
@ -26,7 +26,10 @@
|
||||
【服务端】:
|
||||
```bash
|
||||
|
||||
`onetouch`: wget --no-check-certificate -qO serverstatus-config.json https://raw.githubusercontent.com/cppla/ServerStatus/master/server/config.json && mkdir serverstatus-monthtraffic && docker run -d --restart=always --name=serverstatus -v serverstatus-config.json:/ServerStatus/server/config.json -v serverstatus-monthtraffic:/usr/share/nginx/html/json -p 80:80 -p 35601:35601 cppla/serverstatus:latest
|
||||
`onetouch`:
|
||||
|
||||
wget --no-check-certificate -qO serverstatus-config.json https://raw.githubusercontent.com/cppla/ServerStatus/master/server/config.json && mkdir serverstatus-monthtraffic
|
||||
docker run -d --restart=always --name=serverstatus -v ~/serverstatus-config.json:/ServerStatus/server/config.json -v ~/serverstatus-monthtraffic:/usr/share/nginx/html/json -p 80:80 -p 35601:35601 cppla/serverstatus:latest
|
||||
|
||||
`ServerStatus`: docker-compose up -d
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user