mirror of https://github.com/cppla/ServerStatus
command
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…
Reference in New Issue