Docker 搭建 louislam/uptime-kuma
Docker hub 官网介绍
一个花哨的自托管监控工具
它是一个类似于“Uptime Robot”的自托管监控工具。
https://hub.docker.com/r/louislam/uptime-kuma
https://github.com/louislam/uptime-kuma
1.创建映射容器内部交换文件夹
mkdir -pv /opt/uptime
2.Docker-Compose开始创建容器
docker-compose -f uptime.yaml up -d
uptime.yaml
services:
uptime-kuma:
image: louislam/uptime-kuma:latest
container_name: uptime
volumes:
- /opt/uptime:/app/data
ports:
- "3333:3001/tcp"
restart: always
environment:
- TZ=Asia/Shanghai