Sign inSign up

imbytecat/serverstatus

By imbytecat

•Updated about 5 years ago

ServerStatus with Docker

Image
1

2.2K

imbytecat/serverstatus repository overview

⁠serverstatus-docker

ServerStatus with Docker

⁠Usage

⁠Server
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"
        }
    ]
}
⁠Client
⁠Docker
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
⁠One-click

Linux

wget -qO status.sh https://raw.githubusercontent.com/cokemine/ServerStatus-Hotaru/master/status.sh && bash status.sh c
⁠Manually

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

Tag summary

Content type

Image

Digest

Size

2.3 MB

Last updated

about 5 years ago

docker pull imbytecat/serverstatus