Docker安装
version: '3.8' services: uptime-kuma: image: louislam/uptime-kuma:1 container_name: uptime-kuma volumes: - uptime-kuma:/app/data ports: - "3001:3001" #:restart: always volumes: uptime-kuma:
反向代理
在宝塔中建一个网站,再反向代理3001端口即可。
version: '3.8' services: uptime-kuma: image: louislam/uptime-kuma:1 container_name: uptime-kuma volumes: - uptime-kuma:/app/data ports: - "3001:3001" #:restart: always volumes: uptime-kuma:
在宝塔中建一个网站,再反向代理3001端口即可。