Github项目:https://github.com/hadis898/UptimeRobot
修改说明:
wget https://raw.githubusercontent.com/hadis898/UptimeRobot/master/docker-compose.yml
docker-compose.yml
version: "3"
services:
status:
image: nangle/status-page
# build: .
environment:
- PORT=3000
- LOG_LEVEL=info
- CRON_TIME=*/1 * * * *
- UPTIME_ROBOT_API=ur94****-4d**687*****a1917******
- UPTIME_ROBOT_NAME_PATTERN=%group|%index|%name
- WEBSITE_TITLE=服务状态
- WEBSITE_COPYRIGHT=楠格
# To use config file for more flexible configure,
# please uncomment next block
# volumes:
# - ./config:/app/config
ports:
- 127.0.0.1:8082:3000
docker-compose up -d
8082
端口或直接访问 ip:8082
即可。git clone https://github.com/hadis898/UptimeRobot.git && cd StatusPage
安装依赖
npm i && yarn install && yarn cache clean
yarn build
node build/bootstrap
3000
端口或直接访问 ip:3000
即可。