uptime-kuma安装

snap安装docker卸载后hash -r清除命令路径缓存

1、使用docker-compose.yml

version: '3.3'

services:
  uptime-kuma:
    image: louislam/uptime-kuma:1
    container_name: uptime-kuma
    volumes:
      - ./uptime-kuma-data:/app/data
    ports:
      - 3001:3001  # <Host Port>:<Container Port>
    restart: always

根据docker安装情况运行docker-compose up -d