一款基于 UptimeRobot 中文状态监测页

git clone https://github.com/XOS/StatusPage.git && cd StatusPage
npm i
yarn install && yarn cache clean
yarn build
修改 config/default.yml,然后
node build/bootstrap
wget https://raw.githubusercontent.com/XOS/StatusPage/master/docker-compose.yml
docker-compose up -d
如:组名/索引序号/真实节点名(就是要显示的节点名),索引序列号建议用三位数字表示,前前一位数字表示组的序号,最后两位数字表示组内节点的序号。如:
境内节点/000/北京,
境内节点/001/上海,
境外节点/100/洛杉矶,
境外节点/101/香港
# volumes:
# - ./config:/app/config
There are two ways to configure:
config/*.ymlThe file loading order is default.yml < ${NODE_ENV}.yml < environment variables. It's recommend to set secrets (e.g. API key) via environment variables and something complex (e.g. array and object) via files.
We use the parser to analyze groups name, monitors name and group index (optional) which included in your original monitor's name.
Default Parser is %group/%name, there are 3 variables now:
You can change the backslash / to any separator you like, as long as it won't used in your group & monitor name (and index). To put index into your parser, you will able to sort your group in page manually. Easily write index for each group once (also for all if you like), and leave the blank of the index for other monitors in the same group.
There is example: Group Name/Index/Monitor Name
%group/%index/%nameFor this format, you should write index in original name at Uptimerobots Control Panel for each group once:
GroupA/1/MonitorAAnd leave the blank of the index for other monitors in the same group.
GroupA//MonitorB
Content type
Image
Digest
sha256:4178dd1fc…
Size
42.8 MB
Last updated
over 2 years ago
docker pull nangle/status-page