docker应用:搭建uptime-kuma监控站点

简介:Uptime Kuma是一个易于使用的自托管监控工具,它的界面干净简洁,部署和使用都非常方便。

历史攻略:

docker:可视化工具portainer

docker-compose:搭建自动化运维平台Spug

开源地址:

https://github.com/louislam/uptime-kuma

安装:

docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1

安装结果:

(base) [root@VM-0-2-centos docker]# docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
Unable to find image 'louislam/uptime-kuma:1' locally
1: Pulling from louislam/uptime-kuma
548fcab5fe88: Pull complete 
cc40c8ff9db0: Pull complete 
3f8487d8d1dc: Pull complete 
5619421d892a: Pull complete 
15658185d04a: Pull complete 
376068234d19: Pull complete 
e604a46689cf: Pull complete 
d8a23d604df1: Pull complete 
cd5eb4781145: Pull complete 
4f4fb700ef54: Pull complete 
2b9a14ddc23f: Pull complete 
Digest: sha256:9edc4f35b8bbe097549362925712ab1de426427afb7921e5073da00ff0b38ea5
Status: Downloaded newer image for louislam/uptime-kuma:1
8e2b7e7ffb97a73dadf6e33e384c957c47b9d61f54e213062925be8d396608e4
(base) [root@VM-0-2-centos docker]# docker ps -a
CONTAINER ID   IMAGE                    COMMAND                  CREATED          STATUS                            PORTS                                                  NAMES
8e2b7e7ffb97   louislam/uptime-kuma:1   "/usr/bin/dumb-init …"   6 seconds ago    Up 4 seconds (health: starting)   0.0.0.0:3001->3001/tcp, :::3001->3001/tcp

访问:http://{ip}:3001/

docker应用:搭建uptime-kuma监控站点_第1张图片

登录后设置监控项:

docker应用:搭建uptime-kuma监控站点_第2张图片

仪表盘:

docker应用:搭建uptime-kuma监控站点_第3张图片

综上:站点监控工具uptime-kuma安装和使用完成。

你可能感兴趣的:(docker,容器,运维)