Ubuntu_x86_64-23.10部署Uptime-kuma

1:基础环境

1 Ubuntu_x86_64-23.10
2 Docker version 24.0.5, build 24.0.5-0ubuntu1
3 docker-compose version 1.29.2

2:更改主机名为uptime

hostnamectl set-hostname uptime

3:使主机名立即生效

bash

4:启动docker

systemctl start docker

systemctl status docker

5:docker部署uptime-kuma

docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
                                   |
                                   └──外部端口(可自定义端口)

6:查看uptime-kuma进程

docker ps -a

7:查看本机ip

ip a

8:浏览器进入

9:设置用户名密码

admin/uptime

10:进入主页

11:食用方法

posted @ 2024-03-30 00:00  Tangikru  阅读(71)  评论(0编辑  收藏  举报