ServerStatus with Docker
docker run -d --restart=always --name serverstatus -p 8080:8080 -p 35601:35601 -v /srv/serverstatus/config.json:/opt/config.json imbytecat/serverstatus
config.json
{
"servers": [
{
"username": "cn-sgh-1",
"password": "x",
"name": "cn-sgh-1",
"type": "Dedicated",
"host": "",
"location": "",
"disabled": false,
"region": "cn"
},
{
"username": "jp-tyo-1",
"password": "x",
"name": "jp-tyo-1",
"type": "KVM",
"host": "",
"location": "",
"disabled": false,
"region": "jp"
}
]
}
docker run -d --name=serverstatus-client-go --net=host --restart=always imbytecat/serverstatus:client-go -h 127.0.0.1 -port 35601 -u cn-sgh-1 -p x -interval 1.5
Linux
wget -qO status.sh https://raw.githubusercontent.com/cokemine/ServerStatus-Hotaru/master/status.sh && bash status.sh c
You can download binary files from GitHub Releases, or use Python 3 version as follows:
Linux/macOS
wget -qO status.py https://raw.githubusercontent.com/cokemine/ServerStatus-Hotaru/master/clients/status-client.py
python3 status.py
Windows
wget -qO status.py https://raw.githubusercontent.com/cokemine/ServerStatus-Hotaru/master/clients/status-psutil.py
pip3 install psutil
python3 status.py
Content type
Image
Digest
Size
2.3 MB
Last updated
about 5 years ago
docker pull imbytecat/serverstatus