{"id":92765,"date":"2026-08-11T08:32:53","date_gmt":"2026-08-11T00:32:53","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/92765.html"},"modified":"2026-08-11T08:32:53","modified_gmt":"2026-08-11T00:32:53","slug":"github%e7%bb%8f%e5%85%b8%e9%a1%b9%e7%9b%aeuptime-kuma%ef%bc%9adocker-%e9%83%a8%e7%bd%b2%e7%bd%91%e7%ab%99%e7%9b%91%e6%8e%a7%e3%80%81%e5%91%8a%e8%ad%a6%e4%b8%8e%e7%8a%b6%e6%80%81%e9%a1%b5","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/92765.html","title":{"rendered":"GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma\uff1aDocker \u90e8\u7f72\u7f51\u7ad9\u76d1\u63a7\u3001\u544a\u8b66\u4e0e\u72b6\u6001\u9875"},"content":{"rendered":"<h2>GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma&#xff1a;Docker\u90e8\u7f72\u76d1\u63a7\u4e0e\u544a\u8b66<\/h2>\n<p>\u7f51\u7ad9\u6253\u4e0d\u5f00\u4e86&#xff0c;\u901a\u5e38\u4e0d\u662f\u6700\u9ebb\u70e6\u7684\u4e8b&#xff1b;\u771f\u6b63\u9ebb\u70e6\u7684\u662f&#xff0c;\u7528\u6237\u5df2\u7ecf\u5728\u53cd\u9988&#xff0c;\u800c\u7ef4\u62a4\u8005\u8fd8\u4e0d\u77e5\u9053\u6545\u969c\u662f\u4ec0\u4e48\u65f6\u5019\u5f00\u59cb\u7684\u3002<\/p>\n<p>Uptime Kuma \u662f\u4e00\u4e2a\u5f00\u6e90\u3001\u81ea\u6258\u7ba1\u7684\u670d\u52a1\u53ef\u7528\u6027\u76d1\u63a7\u5de5\u5177\u3002\u622a\u81f3 2026 \u5e74 8 \u6708 10 \u65e5&#xff0c;\u5176 GitHub \u4ed3\u5e93\u9875\u9762\u663e\u793a 90,028 Star\u3002\u5b83\u53ef\u4ee5\u76d1\u63a7 HTTP(S)\u3001TCP \u7aef\u53e3\u3001Ping\u3001DNS\u3001\u5173\u952e\u5b57\u3001WebSocket \u7b49\u76ee\u6807&#xff0c;\u5e76\u63d0\u4f9b\u901a\u77e5\u3001\u8bc1\u4e66\u4fe1\u606f\u548c\u516c\u5f00\u72b6\u6001\u9875\u3002<\/p>\n<p>\u672c\u6587\u4e0d\u53ea\u5b8c\u6210\u5b89\u88c5&#xff0c;\u8fd8\u4f1a\u642d\u5efa\u4e00\u6761\u53ef\u91cd\u590d\u9a8c\u8bc1\u7684\u6545\u969c\u94fe\u8def&#xff1a;<\/p>\n<p>Uptime Kuma \u2500\u2500HTTP\u68c0\u67e5\u2500\u2500&gt; \u6f14\u793a\u7f51\u7ad9<br \/>\n      \u2502<br \/>\n      \u2514\u2500\u2500\u6545\u969c\/\u6062\u590d\u901a\u77e5\u2500\u2500&gt; \u672c\u5730 Webhook \u63a5\u6536\u5668<\/p>\n<p>\u6211\u4eec\u4f1a\u4e3b\u52a8\u505c\u6b62\u6f14\u793a\u7f51\u7ad9&#xff0c;\u786e\u8ba4\u4eea\u8868\u76d8\u53d8\u7ea2\u3001Webhook \u6536\u5230\u901a\u77e5&#xff0c;\u518d\u6062\u590d\u670d\u52a1\u5e76\u68c0\u67e5\u6062\u590d\u6d88\u606f\u3002\u8fd9\u6837\u624d\u80fd\u8bc1\u660e\u201c\u76d1\u63a7\u4e0e\u544a\u8b66\u201d\u786e\u5b9e\u5de5\u4f5c&#xff0c;\u800c\u4e0d\u662f\u53ea\u770b\u5230\u5bb9\u5668\u5904\u4e8e Up \u72b6\u6001\u3002<\/p>\n<h3>\u4e00\u3001\u672c\u6b21\u5b9e\u9645\u9a8c\u8bc1\u7ed3\u679c<\/h3>\n<p>\u672c\u6587\u914d\u5957\u914d\u7f6e\u5728 Windows 11\u3001Docker Desktop Linux \u5bb9\u5668\u73af\u5883\u4e2d\u5b8c\u6210\u4e86\u771f\u5b9e\u8fd0\u884c\u3002\u6838\u9a8c\u65e5\u671f\u4e3a 2026 \u5e74 8 \u6708 10 \u65e5\u3002<\/p>\n<table>\n<tr>\u68c0\u67e5\u9879\u5b9e\u9645\u7ed3\u679c<\/tr>\n<tbody>\n<tr>\n<td>Uptime Kuma \u955c\u50cf<\/td>\n<td>louislam\/uptime-kuma:2<\/td>\n<\/tr>\n<tr>\n<td>\u672c\u6b21\u62c9\u53d6\u5230\u7684\u5e94\u7528\u7248\u672c<\/td>\n<td>Uptime Kuma 2.5.0<\/td>\n<\/tr>\n<tr>\n<td>\u5bb9\u5668\u5065\u5eb7\u72b6\u6001<\/td>\n<td>healthy<\/td>\n<\/tr>\n<tr>\n<td>\u6f14\u793a\u7f51\u7ad9\u6b63\u5e38\u65f6<\/td>\n<td>200 &#8211; OK<\/td>\n<\/tr>\n<tr>\n<td>\u505c\u6b62\u6f14\u793a\u7f51\u7ad9\u540e<\/td>\n<td>\u4eea\u8868\u76d8\u663e\u793a\u201c\u6545\u969c\u201d&#xff0c;\u8bb0\u5f55 EHOSTUNREACH<\/td>\n<\/tr>\n<tr>\n<td>\u6545\u969c\u901a\u77e5<\/td>\n<td>Webhook \u6536\u5230 POST \/webhook&#xff0c;\u8fd4\u56de 204<\/td>\n<\/tr>\n<tr>\n<td>\u6062\u590d\u6f14\u793a\u7f51\u7ad9\u540e<\/td>\n<td>\u4eea\u8868\u76d8\u91cd\u65b0\u663e\u793a\u201c\u6b63\u5e38\u201d&#xff0c;Webhook \u6536\u5230\u6062\u590d\u901a\u77e5<\/td>\n<\/tr>\n<tr>\n<td>\u72b6\u6001\u9875<\/td>\n<td>http:\/\/127.0.0.1:3001\/status\/demo \u53ef\u8bbf\u95ee<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Star \u6570\u3001\u955c\u50cf\u5185\u5bb9\u548c\u754c\u9762\u4f1a\u53d8\u5316\u3002\u672c\u6587\u628a\u6838\u9a8c\u65e5\u671f\u548c\u5b9e\u9645\u7248\u672c\u5355\u72ec\u5199\u51fa\u6765&#xff0c;\u4e0d\u628a\u52a8\u6001\u4fe1\u606f\u4f2a\u88c5\u6210\u6c38\u4e45\u4e0d\u53d8\u7684\u4e8b\u5b9e\u3002<\/p>\n<h3>\u4e8c\u3001Uptime Kuma \u9002\u5408\u89e3\u51b3\u4ec0\u4e48\u95ee\u9898<\/h3>\n<p>\u5b83\u9002\u5408\u4e2a\u4eba\u5f00\u53d1\u8005\u3001\u5c0f\u56e2\u961f\u3001\u5bb6\u5ead\u5b9e\u9a8c\u5ba4\u548c\u5185\u90e8\u7cfb\u7edf\u7ef4\u62a4\u8005&#xff0c;\u7528\u4e00\u4e2a Web \u754c\u9762\u76d1\u63a7&#xff1a;<\/p>\n<ul>\n<li>\u7f51\u7ad9\u9996\u9875\u548c REST API&#xff1b;<\/li>\n<li>NAS\u3001\u8f6f\u8def\u7531\u6216\u5bb6\u5ead\u670d\u52a1\u5668&#xff1b;<\/li>\n<li>\u6570\u636e\u5e93\u3001\u7f13\u5b58\u548c\u6d88\u606f\u670d\u52a1\u7684 TCP \u7aef\u53e3&#xff1b;<\/li>\n<li>\u57df\u540d\u89e3\u6790\u3001Ping \u548c HTTPS \u8bc1\u4e66&#xff1b;<\/li>\n<li>Docker Compose \u7f51\u7edc\u4e2d\u7684\u5176\u4ed6\u5bb9\u5668&#xff1b;<\/li>\n<li>\u5bf9\u5916\u516c\u5f00\u7684\u670d\u52a1\u72b6\u6001\u9875\u3002<\/li>\n<\/ul>\n<p>\u5b83\u4e0d\u662f\u65e5\u5fd7\u5206\u6790\u5e73\u53f0&#xff0c;\u4e5f\u4e0d\u80fd\u4ee3\u66ff Prometheus\u3001Grafana\u3001APM \u6216\u5b8c\u6574\u7684\u4e8b\u4ef6\u54cd\u5e94\u4f53\u7cfb\u3002Uptime Kuma \u64c5\u957f\u56de\u7b54\u7684\u662f\u201c\u670d\u52a1\u73b0\u5728\u80fd\u5426\u4ece\u6307\u5b9a\u4f4d\u7f6e\u8bbf\u95ee\u201d&#xff0c;\u800c\u4e0d\u662f\u89e3\u91ca\u67d0\u4e2a\u8bf7\u6c42\u4e3a\u4ec0\u4e48\u6162\u3001\u54ea\u6761 SQL \u6d88\u8017\u6700\u9ad8\u3002<\/p>\n<h3>\u4e09\u3001\u51c6\u5907\u9879\u76ee\u76ee\u5f55<\/h3>\n<p>\u672c\u6587\u4f7f\u7528\u4ee5\u4e0b\u76ee\u5f55&#xff1a;<\/p>\n<p>027-uptime-kuma\/<br \/>\n\u251c\u2500\u2500 compose.yaml<br \/>\n\u251c\u2500\u2500 demo\/<br \/>\n\u2502   \u2514\u2500\u2500 webhook.conf<br \/>\n\u2514\u2500\u2500 data\/                 # \u9996\u6b21\u542f\u52a8\u540e\u751f\u6210<\/p>\n<p>\u5148\u786e\u8ba4 Docker \u548c Compose \u53ef\u7528&#xff1a;<\/p>\n<p>docker <span class=\"token operator\">&#8212;<\/span>version<br \/>\ndocker compose version<br \/>\ndocker info<\/p>\n<p>\u524d\u4e24\u6761\u547d\u4ee4\u53ea\u80fd\u8bc1\u660e\u5ba2\u6237\u7aef\u5b58\u5728&#xff0c;docker info \u6210\u529f\u8fd4\u56de&#xff0c;\u624d\u8bf4\u660e Docker daemon \u5df2\u7ecf\u8fd0\u884c\u3002Windows \u7528\u6237\u5982\u679c\u770b\u5230\u65e0\u6cd5\u8fde\u63a5 dockerDesktopLinuxEngine&#xff0c;\u5148\u542f\u52a8 Docker Desktop&#xff0c;\u5e76\u786e\u8ba4\u5f53\u524d\u4f7f\u7528 Linux \u5bb9\u5668\u3002<\/p>\n<h3>\u56db\u3001\u7f16\u5199\u6559\u5b66\u7528 Compose<\/h3>\n<p>\u4fdd\u5b58\u4e0b\u9762\u7684 compose.yaml&#xff1a;<\/p>\n<p><span class=\"token key atrule\">services<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">uptime-kuma<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">image<\/span><span class=\"token punctuation\">:<\/span> $<span class=\"token punctuation\">{<\/span>UPTIME_KUMA_IMAGE<span class=\"token punctuation\">:<\/span><span class=\"token punctuation\">&#8211;<\/span>louislam\/uptime<span class=\"token punctuation\">&#8211;<\/span>kuma<span class=\"token punctuation\">:<\/span><span class=\"token number\">2<\/span><span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token key atrule\">restart<\/span><span class=\"token punctuation\">:<\/span> unless<span class=\"token punctuation\">&#8211;<\/span>stopped<br \/>\n    <span class=\"token key atrule\">ports<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;127.0.0.1:${UPTIME_KUMA_PORT:-3001}:3001&#034;<\/span><br \/>\n    <span class=\"token key atrule\">volumes<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> .\/data<span class=\"token punctuation\">:<\/span>\/app\/data<\/p>\n<p>  <span class=\"token key atrule\">demo-web<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">image<\/span><span class=\"token punctuation\">:<\/span> nginx<span class=\"token punctuation\">:<\/span>alpine<br \/>\n    <span class=\"token key atrule\">restart<\/span><span class=\"token punctuation\">:<\/span> unless<span class=\"token punctuation\">&#8211;<\/span>stopped<br \/>\n    <span class=\"token key atrule\">ports<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;127.0.0.1:${DEMO_WEB_PORT:-8088}:80&#034;<\/span><\/p>\n<p>  <span class=\"token key atrule\">webhook-receiver<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">image<\/span><span class=\"token punctuation\">:<\/span> nginx<span class=\"token punctuation\">:<\/span>alpine<br \/>\n    <span class=\"token key atrule\">restart<\/span><span class=\"token punctuation\">:<\/span> unless<span class=\"token punctuation\">&#8211;<\/span>stopped<br \/>\n    <span class=\"token key atrule\">volumes<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> .\/demo\/webhook.conf<span class=\"token punctuation\">:<\/span>\/etc\/nginx\/conf.d\/default.conf<span class=\"token punctuation\">:<\/span>ro<\/p>\n<p>\u4e09\u4e2a\u670d\u52a1\u5206\u522b\u627f\u62c5\u4e0d\u540c\u804c\u8d23&#xff1a;<\/p>\n<table>\n<tr>\u670d\u52a1\u4f5c\u7528\u662f\u5426\u5c5e\u4e8e\u6b63\u5f0f\u90e8\u7f72\u5fc5\u9700\u9879<\/tr>\n<tbody>\n<tr>\n<td>uptime-kuma<\/td>\n<td>\u76d1\u63a7\u3001\u8bb0\u5f55\u72b6\u6001\u5e76\u53d1\u9001\u901a\u77e5<\/td>\n<td>\u662f<\/td>\n<\/tr>\n<tr>\n<td>demo-web<\/td>\n<td>\u53ef\u968f\u65f6\u505c\u6b62\u7684\u6545\u969c\u76ee\u6807<\/td>\n<td>\u5426&#xff0c;\u4ec5\u7528\u4e8e\u6559\u5b66\u9a8c\u8bc1<\/td>\n<\/tr>\n<tr>\n<td>webhook-receiver<\/td>\n<td>\u5728\u672c\u5730\u63a5\u6536\u6d4b\u8bd5\u901a\u77e5<\/td>\n<td>\u5426&#xff0c;\u4ec5\u7528\u4e8e\u6559\u5b66\u9a8c\u8bc1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5b98\u65b9 Compose \u4f7f\u7528 louislam\/uptime-kuma:2&#xff0c;\u628a\u6570\u636e\u6302\u8f7d\u5230 \/app\/data&#xff0c;\u5e76\u6620\u5c04 3001 \u7aef\u53e3\u3002\u672c\u6587\u989d\u5916\u628a\u5bbf\u4e3b\u673a\u5730\u5740\u9650\u5b9a\u4e3a 127.0.0.1&#xff0c;\u907f\u514d\u7b2c\u4e00\u6b21\u542f\u52a8\u65f6\u76f4\u63a5\u76d1\u542c\u6240\u6709\u7f51\u5361\u3002<\/p>\n<h4>4.1 Webhook \u63a5\u6536\u5668\u914d\u7f6e<\/h4>\n<p>\u4fdd\u5b58 demo\/webhook.conf&#xff1a;<\/p>\n<p>server {<br \/>\n    listen 80;<br \/>\n    server_name _;<\/p>\n<p>    location &#061; \/webhook {<br \/>\n        return 204;<br \/>\n    }<\/p>\n<p>    location \/ {<br \/>\n        return 404;<br \/>\n    }<br \/>\n}<\/p>\n<p>\u5b83\u4e0d\u4f1a\u89e3\u6790\u6216\u4fdd\u5b58\u901a\u77e5\u6b63\u6587&#xff0c;\u53ea\u8fd4\u56de HTTP 204&#xff0c;\u5e76\u5728 Nginx \u8bbf\u95ee\u65e5\u5fd7\u4e2d\u7559\u4e0b\u8bf7\u6c42\u8bb0\u5f55\u3002\u5b83\u7684\u76ee\u7684\u53ea\u662f\u56de\u7b54\u4e00\u4e2a\u95ee\u9898&#xff1a;Uptime Kuma \u662f\u5426\u771f\u7684\u53d1\u51fa\u4e86 Webhook\u3002<\/p>\n<h3>\u4e94\u3001\u542f\u52a8\u5e76\u68c0\u67e5\u5bb9\u5668<\/h3>\n<p>\u5148\u8ba9 Compose \u5c55\u5f00\u914d\u7f6e&#xff0c;\u68c0\u67e5\u53d8\u91cf\u3001\u8def\u5f84\u548c YAML \u7f29\u8fdb&#xff1a;<\/p>\n<p>docker compose config<\/p>\n<p>\u7136\u540e\u62c9\u53d6\u5e76\u542f\u52a8&#xff1a;<\/p>\n<p>docker compose pull<br \/>\ndocker compose up <span class=\"token operator\">&#8211;<\/span>d<br \/>\ndocker compose <span class=\"token function\">ps<\/span><\/p>\n<p>\u67e5\u770b Uptime Kuma \u65e5\u5fd7&#xff1a;<\/p>\n<p>docker compose logs <span class=\"token operator\">&#8212;<\/span>tail 100 uptime-kuma<\/p>\n<p>\u672c\u6b21\u5b9e\u9645\u8f93\u51fa\u5305\u542b&#xff1a;<\/p>\n<p>Uptime Kuma Version: 2.5.0<\/p>\n<p>\u7b49\u5f85\u5065\u5eb7\u68c0\u67e5\u901a\u8fc7\u540e&#xff0c;docker compose ps \u4e2d\u5e94\u51fa\u73b0&#xff1a;<\/p>\n<p>uptime-kuma   Up &#8230; (healthy)   127.0.0.1:3001-&gt;3001\/tcp<br \/>\ndemo-web      Up &#8230;             127.0.0.1:8088-&gt;80\/tcp<\/p>\n<p>\u518d\u505a\u4e24\u4e2a HTTP \u68c0\u67e5&#xff1a;<\/p>\n<p>curl<span class=\"token punctuation\">.<\/span>exe <span class=\"token operator\">&#8211;<\/span>I http:<span class=\"token operator\">\/<\/span><span class=\"token operator\">\/<\/span>127<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>1:3001<br \/>\ncurl<span class=\"token punctuation\">.<\/span>exe <span class=\"token operator\">&#8211;<\/span>I http:<span class=\"token operator\">\/<\/span><span class=\"token operator\">\/<\/span>127<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>1:8088<\/p>\n<p>\u9996\u6b21\u8bbf\u95ee Uptime Kuma \u65f6&#xff0c;\u8fd4\u56de \/setup-database \u8df3\u8f6c\u662f\u6b63\u5e38\u73b0\u8c61&#xff1b;\u6f14\u793a\u7f51\u7ad9\u5e94\u8fd4\u56de HTTP 200\u3002<\/p>\n<h3>\u516d\u3001\u9996\u6b21\u521d\u59cb\u5316&#xff1a;\u6570\u636e\u5e93\u548c\u7ba1\u7406\u5458\u8d26\u6237<\/h3>\n<p>\u6d4f\u89c8\u5668\u6253\u5f00&#xff1a;<\/p>\n<p>http:\/\/127.0.0.1:3001<\/p>\n<p>Uptime Kuma 2 \u9996\u6b21\u542f\u52a8\u4f1a\u5148\u8981\u6c42\u9009\u62e9\u6570\u636e\u5e93\u3002\u672c\u6587\u9009\u62e9 SQLite&#xff0c;\u56e0\u4e3a\u5f53\u524d\u754c\u9762\u660e\u786e\u628a\u5b83\u63cf\u8ff0\u4e3a\u9002\u5408\u5c0f\u89c4\u6a21\u90e8\u7f72\u7684\u7b80\u5355\u6570\u636e\u5e93\u6587\u4ef6\u3002\u968f\u540e\u521b\u5efa\u7ba1\u7406\u5458\u8d26\u6237&#xff0c;\u5e76\u4f7f\u7528\u4e00\u4e2a\u72ec\u7acb\u7684\u5f3a\u5bc6\u7801\u3002<\/p>\n<p>\u4e0d\u8981\u7167\u6284\u6587\u7ae0\u4e2d\u7684\u793a\u4f8b\u5bc6\u7801&#xff0c;\u4e5f\u4e0d\u8981\u628a\u5bc6\u7801\u63d0\u4ea4\u5230 Compose \u6587\u4ef6\u6216\u516c\u5f00\u4ed3\u5e93\u3002\u516c\u7f51\u90e8\u7f72\u8fd8\u5e94\u5728\u8bbe\u7f6e\u4e2d\u542f\u7528\u53cc\u56e0\u7d20\u8ba4\u8bc1\u3002<\/p>\n<p>\u5982\u679c\u51c6\u5907\u505a\u591a\u5b9e\u4f8b\u3001\u9ad8\u53ef\u7528\u6216\u5df2\u6709\u5916\u90e8\u6570\u636e\u5e93&#xff0c;\u9700\u8981\u91cd\u65b0\u8bc4\u4f30\u6570\u636e\u5e93\u65b9\u6848&#xff1b;\u672c\u6587\u7684 SQLite \u6d41\u7a0b\u53ea\u670d\u52a1\u4e8e\u5355\u5b9e\u4f8b\u5165\u95e8\u548c\u4e2d\u5c0f\u89c4\u6a21\u81ea\u6258\u7ba1\u573a\u666f\u3002<\/p>\n<h3>\u4e03\u3001\u6dfb\u52a0\u7b2c\u4e00\u4e2a HTTP \u76d1\u63a7<\/h3>\n<p>\u70b9\u51fb\u201c\u6dfb\u52a0\u76d1\u63a7\u9879\u201d&#xff0c;\u586b\u5199&#xff1a;<\/p>\n<table>\n<tr>\u5b57\u6bb5\u6559\u5b66\u73af\u5883\u586b\u5199\u503c<\/tr>\n<tbody>\n<tr>\n<td>\u76d1\u63a7\u7c7b\u578b<\/td>\n<td>HTTP(s)<\/td>\n<\/tr>\n<tr>\n<td>\u663e\u793a\u540d\u79f0<\/td>\n<td>\u6f14\u793a\u7f51\u7ad9<\/td>\n<\/tr>\n<tr>\n<td>URL<\/td>\n<td>http:\/\/demo-web<\/td>\n<\/tr>\n<tr>\n<td>\u5fc3\u8df3\u95f4\u9694<\/td>\n<td>20 \u79d2<\/td>\n<\/tr>\n<tr>\n<td>\u91cd\u8bd5\u6b21\u6570<\/td>\n<td>0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4fdd\u5b58\u540e&#xff0c;\u672c\u6587\u5b9e\u9645\u8bb0\u5f55\u5230&#xff1a;<\/p>\n<p>200 &#8211; OK<\/p>\n<p>\u4e3a\u4ec0\u4e48 URL \u4e0d\u662f http:\/\/127.0.0.1:8088&#xff1f;\u56e0\u4e3a\u76d1\u63a7\u8bf7\u6c42\u662f\u4ece Uptime Kuma \u5bb9\u5668\u5185\u90e8\u53d1\u51fa\u7684\u3002\u5bb9\u5668\u4e2d\u7684 127.0.0.1 \u6307\u5411\u5bb9\u5668\u81ea\u5df1&#xff0c;\u800c demo-web \u662f\u540c\u4e00\u4e2a Compose \u7f51\u7edc\u4e2d\u7684\u670d\u52a1\u540d&#xff0c;Docker DNS \u53ef\u4ee5\u628a\u5b83\u89e3\u6790\u5230\u6f14\u793a\u5bb9\u5668\u3002<\/p>\n<p>\u8fd9\u4e2a\u533a\u522b\u5f88\u91cd\u8981&#xff1a;<\/p>\n<p>\u5bbf\u4e3b\u673a\u8bbf\u95ee\u6f14\u793a\u7ad9\u70b9&#xff1a; http:\/\/127.0.0.1:8088<br \/>\nKuma \u5bb9\u5668\u8bbf\u95ee\u6f14\u793a\u7ad9\u70b9&#xff1a;http:\/\/demo-web<\/p>\n<p>\u6b63\u5f0f\u73af\u5883\u4e0d\u8981\u4e3a\u4e86\u8ffd\u6c42\u201c\u8d8a\u5feb\u8d8a\u597d\u201d\u800c\u76f2\u76ee\u8bbe\u7f6e 20 \u79d2\u3002\u68c0\u67e5\u95f4\u9694\u8d8a\u77ed&#xff0c;\u8bf7\u6c42\u91cf\u8d8a\u5927&#xff1b;\u91cd\u8bd5\u6b21\u6570\u4e3a 0 \u4e5f\u66f4\u5bb9\u6613\u56e0\u77ac\u65f6\u6296\u52a8\u89e6\u53d1\u544a\u8b66\u3002\u751f\u4ea7\u73af\u5883\u5e94\u6839\u636e\u4e1a\u52a1\u5bb9\u5fcd\u5ea6\u8bbe\u7f6e\u95f4\u9694\u3001\u8d85\u65f6\u548c\u91cd\u8bd5&#xff0c;\u5e76\u7528\u4e00\u6b21\u771f\u5b9e\u6545\u969c\u6f14\u7ec3\u9a8c\u8bc1\u7ed3\u679c\u3002<\/p>\n<h3>\u516b\u3001\u914d\u7f6e\u5e76\u9a8c\u8bc1 Webhook \u544a\u8b66<\/h3>\n<p>\u7f16\u8f91\u521a\u624d\u7684\u76d1\u63a7\u9879&#xff0c;\u5728\u201c\u901a\u77e5\u201d\u533a\u57df\u70b9\u51fb\u201c\u8bbe\u7f6e\u901a\u77e5\u201d&#xff0c;\u9009\u62e9&#xff1a;<\/p>\n<table>\n<tr>\u5b57\u6bb5\u586b\u5199\u503c<\/tr>\n<tbody>\n<tr>\n<td>\u901a\u77e5\u7c7b\u578b<\/td>\n<td>Webhook<\/td>\n<\/tr>\n<tr>\n<td>\u663e\u793a\u540d\u79f0<\/td>\n<td>\u672c\u5730 Webhook<\/td>\n<\/tr>\n<tr>\n<td>Post URL<\/td>\n<td>http:\/\/webhook-receiver\/webhook<\/td>\n<\/tr>\n<tr>\n<td>HTTP \u65b9\u6cd5<\/td>\n<td>POST<\/td>\n<\/tr>\n<tr>\n<td>\u8bf7\u6c42\u4f53<\/td>\n<td>\u9884\u8bbe &#8211; application\/json<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5148\u70b9\u51fb\u201c\u6d4b\u8bd5\u201d\u3002\u754c\u9762\u663e\u793a Sent Successfully. \u540e&#xff0c;\u518d\u67e5\u770b\u63a5\u6536\u5668\u65e5\u5fd7&#xff1a;<\/p>\n<p>docker compose logs <span class=\"token operator\">&#8212;<\/span>tail 20 webhook-receiver<\/p>\n<p>\u672c\u6b21\u5b9e\u9645\u65e5\u5fd7\u4e3a&#xff1a;<\/p>\n<p>&#034;POST \/webhook HTTP\/1.1&#034; 204 0 &#034;-&#034; &#034;Uptime-Kuma\/2.5.0&#034;<\/p>\n<p>\u4fdd\u5b58\u901a\u77e5\u540e&#xff0c;\u786e\u8ba4\u76d1\u63a7\u9879\u65c1\u8fb9\u7684\u201c\u672c\u5730 Webhook\u201d\u590d\u9009\u6846\u5df2\u7ecf\u9009\u4e2d\u3002\u53ea\u521b\u5efa\u901a\u77e5\u4f46\u6ca1\u6709\u5173\u8054\u5230\u76d1\u63a7\u9879&#xff0c;\u662f\u201c\u6d4b\u8bd5\u53d1\u9001\u6210\u529f\u3001\u771f\u5b9e\u6545\u969c\u5374\u6ca1\u6709\u6d88\u606f\u201d\u7684\u5e38\u89c1\u539f\u56e0\u3002<\/p>\n<p>\u771f\u5b9e\u4f7f\u7528\u65f6\u53ef\u4ee5\u628a\u672c\u5730 Webhook \u6362\u6210 SMTP\u3001Telegram\u3001Discord\u3001\u98de\u4e66\u3001\u9489\u9489\u3001\u4f01\u4e1a\u5fae\u4fe1\u6216\u5176\u4ed6\u53d7\u652f\u6301\u65b9\u5f0f\u3002\u4e0d\u540c\u6e20\u9053\u6240\u9700\u7684\u4ee4\u724c\u3001\u673a\u5668\u4eba\u5730\u5740\u548c\u6743\u9650\u4e0d\u540c&#xff0c;\u5e94\u4f7f\u7528\u5bf9\u5e94\u5e73\u53f0\u7684\u5b98\u65b9\u914d\u7f6e&#xff0c;\u5e76\u59a5\u5584\u4fdd\u7ba1\u51ed\u636e\u3002<\/p>\n<h3>\u4e5d\u3001\u4e3b\u52a8\u5236\u9020\u4e00\u6b21\u6545\u969c<\/h3>\n<p>\u505c\u6b62\u6f14\u793a\u7f51\u7ad9&#xff1a;<\/p>\n<p>docker compose stop demo-web<\/p>\n<p>\u672c\u6587\u628a\u5fc3\u8df3\u95f4\u9694\u8bbe\u4e3a 20 \u79d2\u3001\u91cd\u8bd5\u6b21\u6570\u8bbe\u4e3a 0&#xff0c;\u56e0\u6b64\u7b49\u5f85\u4e00\u4e2a\u68c0\u67e5\u5468\u671f\u540e&#xff0c;\u4eea\u8868\u76d8\u51fa\u73b0&#xff1a;<\/p>\n<p>\u72b6\u6001&#xff1a;\u6545\u969c<br \/>\n\u6d88\u606f&#xff1a;connect EHOSTUNREACH &#8230;:80<\/p>\n<p>\u540c\u65f6&#xff0c;Webhook \u63a5\u6536\u5668\u65b0\u589e\u4e86\u4e00\u6761\u8bf7\u6c42&#xff1a;<\/p>\n<p>&#034;POST \/webhook HTTP\/1.1&#034; 204 0 &#034;-&#034; &#034;Uptime-Kuma\/2.5.0&#034;<\/p>\n<p>\u6062\u590d\u670d\u52a1&#xff1a;<\/p>\n<p>docker compose <span class=\"token function\">start<\/span> demo-web<\/p>\n<p>\u518d\u6b21\u7b49\u5f85\u68c0\u67e5\u5468\u671f&#xff0c;\u76d1\u63a7\u9879\u6062\u590d\u4e3a&#xff1a;<\/p>\n<p>\u72b6\u6001&#xff1a;\u6b63\u5e38<br \/>\n\u6d88\u606f&#xff1a;200 &#8211; OK<\/p>\n<p>Webhook \u65e5\u5fd7\u4e2d\u4e5f\u51fa\u73b0\u4e86\u65b0\u7684\u6062\u590d\u901a\u77e5\u8bf7\u6c42\u3002\u81f3\u6b64&#xff0c;\u6211\u4eec\u9a8c\u8bc1\u4e86\u5b8c\u6574\u94fe\u8def&#xff1a;<\/p>\n<p>\u6b63\u5e38\u68c0\u67e5 \u2192 \u670d\u52a1\u505c\u6b62 \u2192 \u6545\u969c\u68c0\u6d4b \u2192 \u6545\u969c\u901a\u77e5<br \/>\n                              \u2193<br \/>\n\u6b63\u5e38\u68c0\u67e5 \u2190 \u670d\u52a1\u6062\u590d \u2190 \u6062\u590d\u68c0\u6d4b \u2190 \u6062\u590d\u901a\u77e5<\/p>\n<p>\u6b63\u5f0f\u4e0a\u7ebf\u524d&#xff0c;\u81f3\u5c11\u8981\u5bf9\u6bcf\u4e2a\u5173\u952e\u901a\u77e5\u6e20\u9053\u505a\u4e00\u6b21\u7c7b\u4f3c\u6f14\u7ec3\u3002\u80fd\u591f\u70b9\u51fb\u201c\u6d4b\u8bd5\u201d\u4e0d\u7b49\u4e8e\u771f\u5b9e\u6545\u969c\u65f6\u4e00\u5b9a\u80fd\u9001\u8fbe\u3002<\/p>\n<h3>\u5341\u3001HTTP \u4e4b\u5916\u8fd8\u80fd\u76d1\u63a7\u4ec0\u4e48<\/h3>\n<p>\u6dfb\u52a0\u76d1\u63a7\u9879\u65f6&#xff0c;\u53ef\u4ee5\u6839\u636e\u76ee\u6807\u9009\u62e9\u4e0d\u540c\u7c7b\u578b&#xff1a;<\/p>\n<table>\n<tr>\u76ee\u6807\u66f4\u5408\u9002\u7684\u76d1\u63a7\u7c7b\u578b\u80fd\u56de\u7b54\u7684\u95ee\u9898<\/tr>\n<tbody>\n<tr>\n<td>\u7f51\u7ad9\u6216 API<\/td>\n<td>HTTP(s)<\/td>\n<td>\u80fd\u5426\u8fd4\u56de\u5141\u8bb8\u7684\u72b6\u6001\u7801<\/td>\n<\/tr>\n<tr>\n<td>\u9875\u9762\u5fc5\u987b\u5305\u542b\u67d0\u6bb5\u6587\u5b57<\/td>\n<td>HTTP(s) &#8211; \u5173\u952e\u5b57<\/td>\n<td>\u9875\u9762\u662f\u5426\u8fd4\u56de\u4e86\u9884\u671f\u5185\u5bb9<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u5e93\u3001SSH\u3001Redis \u7aef\u53e3<\/td>\n<td>TCP Port<\/td>\n<td>\u7aef\u53e3\u662f\u5426\u80fd\u591f\u5efa\u7acb\u8fde\u63a5<\/td>\n<\/tr>\n<tr>\n<td>\u4e3b\u673a\u57fa\u7840\u8fde\u901a\u6027<\/td>\n<td>Ping<\/td>\n<td>ICMP \u662f\u5426\u53ef\u8fbe<\/td>\n<\/tr>\n<tr>\n<td>\u57df\u540d\u89e3\u6790<\/td>\n<td>DNS<\/td>\n<td>\u662f\u5426\u8fd4\u56de\u9884\u671f\u8bb0\u5f55<\/td>\n<\/tr>\n<tr>\n<td>WebSocket \u670d\u52a1<\/td>\n<td>Websocket Upgrade<\/td>\n<td>\u662f\u5426\u80fd\u5b8c\u6210\u534f\u8bae\u5347\u7ea7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u201c\u7aef\u53e3\u6253\u5f00\u201d\u4e0d\u7b49\u4e8e\u201c\u4e1a\u52a1\u6b63\u5e38\u201d\u3002\u4f8b\u5982\u6570\u636e\u5e93\u7aef\u53e3\u53ef\u4ee5\u8fde\u63a5&#xff0c;\u4f46\u67e5\u8be2\u53ef\u80fd\u5df2\u7ecf\u5931\u8d25&#xff1b;\u7f51\u7ad9\u8fd4\u56de 200&#xff0c;\u4e5f\u53ef\u80fd\u53ea\u662f\u9519\u8bef\u9875\u9762\u3002\u56e0\u6b64\u5173\u952e\u4e1a\u52a1\u6700\u597d\u540c\u65f6\u8bbe\u7f6e\u8fde\u901a\u6027\u68c0\u67e5\u548c\u5185\u5bb9\u68c0\u67e5\u3002<\/p>\n<h3>\u5341\u4e00\u3001\u521b\u5efa\u516c\u5f00\u72b6\u6001\u9875<\/h3>\n<p>\u72b6\u6001\u9875\u9002\u5408\u7ed9\u7528\u6237\u6216\u56e2\u961f\u6210\u5458\u67e5\u770b\u670d\u52a1\u72b6\u6001&#xff0c;\u4e0d\u9700\u8981\u5411\u4ed6\u4eec\u5f00\u653e\u7ba1\u7406\u540e\u53f0\u3002<\/p>\n<p>\u64cd\u4f5c\u6d41\u7a0b&#xff1a;<\/p>\n<li>\u70b9\u51fb\u9876\u90e8\u201c\u72b6\u6001\u9875\u9762\u201d&#xff1b;<\/li>\n<li>\u70b9\u51fb\u201c\u65b0\u7684\u72b6\u6001\u9875\u201d&#xff1b;<\/li>\n<li>\u540d\u79f0\u586b\u5199\u201c\u6f14\u793a\u670d\u52a1\u72b6\u6001\u201d&#xff0c;\u8def\u5f84\u586b\u5199 demo&#xff1b;<\/li>\n<li>\u6dfb\u52a0\u4e00\u4e2a\u5206\u7ec4&#xff1b;<\/li>\n<li>\u628a\u201c\u6f14\u793a\u7f51\u7ad9\u201d\u52a0\u5165\u5206\u7ec4&#xff1b;<\/li>\n<li>\u4fdd\u5b58\u5e76\u8bbf\u95ee http:\/\/127.0.0.1:3001\/status\/demo\u3002<\/li>\n<p>\u5b98\u65b9 Wiki \u660e\u786e\u8bf4\u660e&#xff0c;\u72b6\u6001\u9875\u9762\u5411\u516c\u5f00\u8bbf\u95ee\u8005&#xff0c;\u4f1a\u7f13\u5b58\u7ed3\u679c\u5e76\u6309\u5468\u671f\u5237\u65b0&#xff0c;\u56e0\u6b64\u5b83\u4e0d\u4f1a\u50cf\u7ba1\u7406\u5458\u4eea\u8868\u76d8\u4e00\u6837\u5b9e\u65f6\u3002\u672c\u6587\u5f53\u524d\u754c\u9762\u7684\u9ed8\u8ba4\u5b8c\u5168\u5237\u65b0\u95f4\u9694\u4e3a 300 \u79d2\u3002<\/p>\n<p>\u5982\u679c\u8981\u7ed9\u4e0d\u540c\u7cfb\u7edf\u5206\u522b\u63d0\u4f9b\u72b6\u6001\u9875&#xff0c;\u53ef\u4ee5\u521b\u5efa\u591a\u4e2a\u9875\u9762\u5e76\u4f7f\u7528\u4e0d\u540c\u8def\u5f84\u3002\u628a\u72b6\u6001\u9875\u7ed1\u5b9a\u5230\u57df\u540d\u65f6&#xff0c;\u53cd\u5411\u4ee3\u7406\u8fd8\u9700\u8981\u6b63\u786e\u8f6c\u53d1 Host \u6216 X-Forwarded-Host\u3002<\/p>\n<h3>\u5341\u4e8c\u3001\u6301\u4e45\u5316\u3001\u5907\u4efd\u4e0e\u6062\u590d<\/h3>\n<p>\u771f\u6b63\u9700\u8981\u4fdd\u62a4\u7684\u662f&#xff1a;<\/p>\n<p>\u5bbf\u4e3b\u673a .\/data  \u2192  \u5bb9\u5668 \/app\/data<\/p>\n<p>\u5220\u9664\u5e76\u91cd\u65b0\u521b\u5efa\u5bb9\u5668\u4e0d\u4f1a\u81ea\u52a8\u5220\u9664\u8fd9\u4e2a\u7ed1\u5b9a\u76ee\u5f55&#xff0c;\u4f46\u8bef\u5220 data \u4f1a\u4e22\u5931\u8d26\u53f7\u3001\u76d1\u63a7\u9879\u3001\u901a\u77e5\u548c\u5386\u53f2\u6570\u636e\u3002\u5b98\u65b9 README \u8fd8\u660e\u786e\u8b66\u544a&#xff1a;Uptime Kuma \u4e0d\u652f\u6301\u628a\u8be5\u6570\u636e\u76ee\u5f55\u653e\u5230 NFS \u6587\u4ef6\u7cfb\u7edf&#xff0c;\u5e94\u4f7f\u7528\u672c\u5730\u76ee\u5f55\u6216\u672c\u5730 volume\u3002<\/p>\n<p>\u5728 Windows PowerShell \u4e2d&#xff0c;\u53ef\u4ee5\u5148\u505c\u6b62\u5199\u5165&#xff0c;\u518d\u538b\u7f29\u5907\u4efd&#xff1a;<\/p>\n<p>docker compose stop uptime-kuma<\/p>\n<p><span class=\"token variable\">$backupDir<\/span> &#061; <span class=\"token string\">&#034;.\\\\backups&#034;<\/span><br \/>\n<span class=\"token function\">New-Item<\/span> <span class=\"token operator\">&#8211;<\/span>ItemType Directory <span class=\"token operator\">&#8211;<\/span>Force <span class=\"token operator\">&#8211;<\/span>Path <span class=\"token variable\">$backupDir<\/span> <span class=\"token punctuation\">|<\/span> <span class=\"token function\">Out-Null<\/span><br \/>\n<span class=\"token variable\">$archive<\/span> &#061; <span class=\"token function\">Join-Path<\/span> <span class=\"token variable\">$backupDir<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;uptime-kuma-&#034;<\/span> <span class=\"token operator\">&#043;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token function\">Get-Date<\/span> <span class=\"token operator\">&#8211;<\/span>Format <span class=\"token string\">&#034;yyyyMMdd-HHmmss&#034;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#043;<\/span> <span class=\"token string\">&#034;.zip&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token function\">Compress-Archive<\/span> <span class=\"token operator\">&#8211;<\/span>Path <span class=\"token string\">&#034;.\\\\data&#034;<\/span> <span class=\"token operator\">&#8211;<\/span>DestinationPath <span class=\"token variable\">$archive<\/span><\/p>\n<p>docker compose <span class=\"token function\">start<\/span> uptime-kuma<\/p>\n<p>\u6062\u590d\u65f6\u4e0d\u8981\u76f4\u63a5\u8986\u76d6\u6b63\u5728\u4f7f\u7528\u7684\u6570\u636e\u76ee\u5f55\u3002\u66f4\u7a33\u59a5\u7684\u6d41\u7a0b\u662f&#xff1a;<\/p>\n<p>\u505c\u6b62 Uptime Kuma<br \/>\n\u2192 \u4fdd\u7559\u5f53\u524d data \u76ee\u5f55\u526f\u672c<br \/>\n\u2192 \u5c06\u5907\u4efd\u89e3\u538b\u5230\u4e34\u65f6\u76ee\u5f55<br \/>\n\u2192 \u68c0\u67e5\u76ee\u5f55\u5c42\u7ea7<br \/>\n\u2192 \u66ff\u6362 data<br \/>\n\u2192 \u542f\u52a8\u5e76\u767b\u5f55\u9a8c\u8bc1<br \/>\n\u2192 \u68c0\u67e5\u76d1\u63a7\u9879\u548c\u901a\u77e5<\/p>\n<p>\u5907\u4efd\u4e2d\u5305\u542b\u8d26\u53f7\u3001\u901a\u77e5\u914d\u7f6e\u548c\u53ef\u80fd\u7684\u8bbf\u95ee\u51ed\u636e&#xff0c;\u5e94\u6309\u7167\u654f\u611f\u6570\u636e\u4fdd\u5b58\u3002\u4e00\u6b21\u6ca1\u6709\u505a\u8fc7\u6062\u590d\u6f14\u7ec3\u7684\u538b\u7f29\u5305&#xff0c;\u4e0d\u80fd\u7b97\u5df2\u7ecf\u9a8c\u8bc1\u7684\u5907\u4efd\u65b9\u6848\u3002<\/p>\n<h3>\u5341\u4e09\u3001\u5347\u7ea7\u4e0e\u56de\u6eda<\/h3>\n<p>\u5b98\u65b9\u66f4\u65b0 Wiki \u7ed9\u51fa\u7684 Compose \u66f4\u65b0\u65b9\u5f0f\u662f\u91cd\u65b0\u62c9\u53d6\u955c\u50cf\u5e76\u5f3a\u5236\u91cd\u5efa&#xff1a;<\/p>\n<p>docker compose pull<br \/>\ndocker compose up <span class=\"token operator\">&#8211;<\/span>d <span class=\"token operator\">&#8212;<\/span>force-recreate<\/p>\n<p>\u5347\u7ea7\u524d\u5148\u505a\u4e09\u4ef6\u4e8b&#xff1a;<\/p>\n<li>\u505c\u6b62\u670d\u52a1\u5e76\u5907\u4efd data&#xff1b;<\/li>\n<li>\u9605\u8bfb\u5bf9\u5e94\u7248\u672c\u7684\u53d1\u5e03\u8bf4\u660e\u548c\u8fc1\u79fb\u8bf4\u660e&#xff1b;<\/li>\n<li>\u8bb0\u5f55\u5f53\u524d\u955c\u50cf\u6807\u8bc6\u548c\u5e94\u7528\u7248\u672c\u3002<\/li>\n<p>\u5347\u7ea7\u540e\u68c0\u67e5&#xff1a;<\/p>\n<p>docker compose <span class=\"token function\">ps<\/span><br \/>\ndocker compose logs <span class=\"token operator\">&#8212;<\/span>tail 100 uptime-kuma<br \/>\ncurl<span class=\"token punctuation\">.<\/span>exe <span class=\"token operator\">&#8211;<\/span>I http:<span class=\"token operator\">\/<\/span><span class=\"token operator\">\/<\/span>127<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>1:3001<\/p>\n<p>\u7136\u540e\u518d\u505a\u4e00\u6b21\u201c\u505c\u6b62\u6f14\u793a\u76ee\u6807\u2014\u6536\u5230\u6545\u969c\u901a\u77e5\u2014\u6062\u590d\u76ee\u6807\u201d\u7684\u5b8c\u6574\u6f14\u7ec3\u3002<\/p>\n<p>:2 \u4f1a\u8ddf\u968f Uptime Kuma 2 \u7684\u540e\u7eed\u955c\u50cf\u66f4\u65b0\u3002\u5bf9\u7a33\u5b9a\u6027\u8981\u6c42\u8f83\u9ad8\u7684\u73af\u5883&#xff0c;\u5e94\u5728\u6d4b\u8bd5\u540e\u56fa\u5b9a\u660e\u786e\u7248\u672c\u6216\u955c\u50cf digest&#xff0c;\u5e76\u4fdd\u7559\u56de\u9000\u6240\u9700\u7684\u65e7\u955c\u50cf\u4e0e\u6570\u636e\u5907\u4efd\u3002\u4e0d\u8981\u628a\u5220\u9664 data \u5f53\u4f5c\u5347\u7ea7\u5931\u8d25\u540e\u7684\u4fee\u590d\u529e\u6cd5\u3002<\/p>\n<h3>\u5341\u56db\u3001\u516c\u7f51\u8bbf\u95ee\u4e0d\u8981\u76f4\u63a5\u66b4\u9732 3001<\/h3>\n<p>\u672c\u6587\u4f7f\u7528&#xff1a;<\/p>\n<p><span class=\"token key atrule\">ports<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;127.0.0.1:3001:3001&#034;<\/span><\/p>\n<p>\u5b83\u53ea\u5141\u8bb8\u672c\u673a\u8bbf\u95ee\u3002\u5c40\u57df\u7f51\u8bbf\u95ee\u53ef\u4ee5\u6539\u6210 3001:3001&#xff0c;\u4f46\u5fc5\u987b\u540c\u6b65\u914d\u7f6e\u7ba1\u7406\u5458\u5f3a\u5bc6\u7801\u3001\u9632\u706b\u5899\u548c\u53ef\u4fe1\u7f51\u6bb5\u3002<\/p>\n<p>\u516c\u7f51\u90e8\u7f72\u66f4\u9002\u5408\u4f7f\u7528\u72ec\u7acb\u5b50\u57df\u540d&#xff1a;<\/p>\n<p>\u6d4f\u89c8\u5668 \u2500\u2500HTTPS\u2500\u2500&gt; Nginx\/Caddy\/Traefik \u2500\u2500&gt; 127.0.0.1:3001<\/p>\n<p>\u5b98\u65b9\u53cd\u5411\u4ee3\u7406 Wiki \u63d0\u9192\u4e86\u4e09\u4e2a\u5173\u952e\u70b9&#xff1a;<\/p>\n<ul>\n<li>Uptime Kuma \u4f7f\u7528 WebSocket&#xff0c;\u4ee3\u7406\u9700\u8981\u8f6c\u53d1 Upgrade \u548c Connection&#xff1b;<\/li>\n<li>\u5b98\u65b9\u4e0d\u652f\u6301\u628a\u7ba1\u7406\u754c\u9762\u90e8\u7f72\u5728 \/uptime-kuma \u8fd9\u7c7b\u5b50\u76ee\u5f55\u4e0b&#xff0c;\u5e94\u4f7f\u7528\u57df\u540d\u6216\u5b50\u57df\u540d&#xff1b;<\/li>\n<li>\u516c\u7f51\u8bbf\u95ee\u5e94\u4f7f\u7528 HTTPS\u3002<\/li>\n<\/ul>\n<p>Nginx \u7684\u6838\u5fc3\u4ee3\u7406\u6bb5\u53ef\u4ee5\u5199\u6210&#xff1a;<\/p>\n<p>location \/ {<br \/>\n    proxy_pass http:\/\/127.0.0.1:3001;<br \/>\n    proxy_http_version 1.1;<br \/>\n    proxy_set_header Upgrade $http_upgrade;<br \/>\n    proxy_set_header Connection &#034;upgrade&#034;;<br \/>\n    proxy_set_header Host $host;<br \/>\n    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>\n}<\/p>\n<p>\u8fd9\u6bb5\u914d\u7f6e\u53ea\u89e3\u51b3\u8f6c\u53d1\u95ee\u9898&#xff0c;\u4e0d\u4f1a\u81ea\u52a8\u5b8c\u6210\u8bc1\u4e66\u7b7e\u53d1\u3001\u9632\u706b\u5899\u3001\u767b\u5f55\u4fdd\u62a4\u548c\u5907\u4efd\u3002\u516c\u7f51\u90e8\u7f72\u9700\u8981\u628a\u8fd9\u4e9b\u63aa\u65bd\u4e00\u8d77\u5b8c\u6210\u3002<\/p>\n<h3>\u5341\u4e94\u3001\u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/h3>\n<h4>1. \u5bb9\u5668\u4e00\u76f4\u5904\u4e8e health: starting<\/h4>\n<p>docker compose logs <span class=\"token operator\">&#8212;<\/span>tail 200 uptime-kuma<br \/>\ndocker compose <span class=\"token function\">ps<\/span><\/p>\n<p>\u9996\u6b21\u521d\u59cb\u5316\u6570\u636e\u5e93\u4f1a\u9700\u8981\u4e00\u4e9b\u65f6\u95f4\u3002\u6301\u7eed\u5931\u8d25\u65f6\u5148\u770b\u65e5\u5fd7&#xff0c;\u4e0d\u8981\u76f4\u63a5\u5220\u9664 data\u3002<\/p>\n<h4>2. \u5728\u6d4f\u89c8\u5668\u4e2d\u80fd\u6253\u5f00&#xff0c;Kuma \u5374\u68c0\u6d4b\u5931\u8d25<\/h4>\n<p>\u786e\u8ba4\u76d1\u63a7\u8bf7\u6c42\u4ece\u54ea\u91cc\u53d1\u51fa\u3002\u5bbf\u4e3b\u673a\u5730\u5740\u548c\u5bb9\u5668\u5185\u5730\u5740\u4e0d\u662f\u540c\u4e00\u4e2a\u6982\u5ff5&#xff1a;\u672c\u6587\u5728\u6d4f\u89c8\u5668\u4e2d\u4f7f\u7528 127.0.0.1:8088&#xff0c;\u5728 Kuma \u4e2d\u4f7f\u7528 http:\/\/demo-web\u3002<\/p>\n<h4>3. \u6d4b\u8bd5\u901a\u77e5\u6210\u529f&#xff0c;\u6545\u969c\u65f6\u6ca1\u6709\u901a\u77e5<\/h4>\n<p>\u68c0\u67e5\u901a\u77e5\u662f\u5426\u5df2\u7ecf\u4fdd\u5b58\u5e76\u52fe\u9009\u5230\u5bf9\u5e94\u76d1\u63a7\u9879&#xff1b;\u518d\u68c0\u67e5\u91cd\u8bd5\u6b21\u6570\u3001\u68c0\u67e5\u95f4\u9694\u548c\u901a\u77e5\u6e20\u9053\u65e5\u5fd7\u3002<\/p>\n<h4>4. \u72b6\u6001\u9875\u6bd4\u4eea\u8868\u76d8\u6162<\/h4>\n<p>\u8fd9\u662f\u8bbe\u8ba1\u5dee\u5f02\u3002\u5b98\u65b9\u6587\u6863\u8bf4\u660e\u72b6\u6001\u9875\u4f1a\u7f13\u5b58\u5e76\u5468\u671f\u5237\u65b0&#xff0c;\u4e0d\u80fd\u628a\u5b83\u5f53\u4f5c\u7ba1\u7406\u5458\u4eea\u8868\u76d8\u7684\u5b9e\u65f6\u66ff\u4ee3\u54c1\u3002<\/p>\n<h4>5. \u91cd\u5efa\u5bb9\u5668\u540e\u914d\u7f6e\u6d88\u5931<\/h4>\n<p>\u68c0\u67e5 Compose \u662f\u5426\u4ecd\u7136\u5305\u542b&#xff1a;<\/p>\n<p><span class=\"token punctuation\">&#8211;<\/span> .\/data<span class=\"token punctuation\">:<\/span>\/app\/data<\/p>\n<p>\u8fd8\u8981\u786e\u8ba4\u6267\u884c\u547d\u4ee4\u65f6\u4f7f\u7528\u7684\u662f\u539f\u6765\u7684\u9879\u76ee\u76ee\u5f55\u3002\u76f8\u5bf9\u8def\u5f84\u53d8\u5316\u4f1a\u8ba9 Compose \u6307\u5411\u53e6\u4e00\u5957\u7a7a\u6570\u636e\u76ee\u5f55\u3002<\/p>\n<h3>\u5341\u516d\u3001\u5220\u9664\u6559\u5b66\u670d\u52a1&#xff0c;\u4fdd\u7559\u6b63\u5f0f\u76d1\u63a7<\/h3>\n<p>\u5b8c\u6210\u6545\u969c\u6f14\u7ec3\u540e&#xff0c;demo-web \u548c webhook-receiver \u90fd\u53ef\u4ee5\u5220\u9664\u3002\u6b63\u5f0f Compose \u6700\u5c0f\u914d\u7f6e\u5982\u4e0b&#xff1a;<\/p>\n<p><span class=\"token key atrule\">services<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">uptime-kuma<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">image<\/span><span class=\"token punctuation\">:<\/span> louislam\/uptime<span class=\"token punctuation\">&#8211;<\/span>kuma<span class=\"token punctuation\">:<\/span><span class=\"token number\">2<\/span><br \/>\n    <span class=\"token key atrule\">restart<\/span><span class=\"token punctuation\">:<\/span> unless<span class=\"token punctuation\">&#8211;<\/span>stopped<br \/>\n    <span class=\"token key atrule\">ports<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token string\">&#034;127.0.0.1:3001:3001&#034;<\/span><br \/>\n    <span class=\"token key atrule\">volumes<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token punctuation\">&#8211;<\/span> .\/data<span class=\"token punctuation\">:<\/span>\/app\/data<\/p>\n<p>\u505c\u6b62\u5e76\u5220\u9664\u6559\u5b66\u5bb9\u5668\u65f6&#xff0c;\u4e0d\u8981\u5220\u9664 data&#xff1a;<\/p>\n<p>docker compose down<\/p>\n<p>\u7ed1\u5b9a\u6302\u8f7d\u7684 .\/data \u4f1a\u4fdd\u7559\u3002\u4fee\u6539\u4e3a\u6b63\u5f0f Compose \u540e\u91cd\u65b0\u6267\u884c docker compose up -d \u5373\u53ef\u3002<\/p>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u5b89\u88c5 Uptime Kuma \u5e76\u4e0d\u96be&#xff0c;\u771f\u6b63\u6709\u4ef7\u503c\u7684\u662f\u628a\u4e0b\u9762\u8fd9\u6761\u94fe\u8def\u8dd1\u901a&#xff1a;<\/p>\n<p>\u6301\u4e45\u5316\u90e8\u7f72 \u2192 \u521b\u5efa\u76d1\u63a7 \u2192 \u914d\u7f6e\u901a\u77e5 \u2192 \u4e3b\u52a8\u5236\u9020\u6545\u969c<br \/>\n      \u2193                               \u2193<br \/>\n\u5907\u4efd\u5347\u7ea7 \u2190 \u6062\u590d\u9a8c\u8bc1 \u2190 \u6536\u5230\u6062\u590d\u901a\u77e5 \u2190 \u6536\u5230\u6545\u969c\u901a\u77e5<\/p>\n<p>\u672c\u6587\u7684\u6f14\u793a\u76ee\u6807\u548c\u672c\u5730 Webhook \u63a5\u6536\u5668\u4e0d\u662f\u751f\u4ea7\u7ec4\u4ef6&#xff0c;\u800c\u662f\u4e00\u5957\u53ef\u91cd\u590d\u6267\u884c\u7684\u9a8c\u6536\u65b9\u6cd5\u3002\u53ea\u6709\u4eb2\u624b\u505c\u6b62\u4e00\u6b21\u670d\u52a1\u3001\u770b\u5230\u6545\u969c\u8bb0\u5f55\u3001\u786e\u8ba4\u901a\u77e5\u5230\u8fbe\u5e76\u5b8c\u6210\u6062\u590d&#xff0c;\u624d\u80fd\u77e5\u9053\u76d1\u63a7\u7cfb\u7edf\u5728\u771f\u6b63\u51fa\u95ee\u9898\u65f6\u662f\u5426\u6709\u7528\u3002<\/p>\n<h3>\u53c2\u8003\u8d44\u6599<\/h3>\n<ul>\n<li>Uptime Kuma \u5b98\u65b9\u4ed3\u5e93\u4e0e README<\/li>\n<li>Uptime Kuma \u5b98\u65b9 compose.yaml<\/li>\n<li>\u5b98\u65b9 Wiki&#xff1a;How to Install<\/li>\n<li>\u5b98\u65b9 Wiki&#xff1a;How to Update<\/li>\n<li>\u5b98\u65b9 Wiki&#xff1a;Notification Methods<\/li>\n<li>\u5b98\u65b9 Wiki&#xff1a;Status Page<\/li>\n<li>\u5b98\u65b9 Wiki&#xff1a;Reverse Proxy<\/li>\n<li>Docker \u5b98\u65b9\u6587\u6863&#xff1a;Compose Networking<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma&#xff1a;Docker\u90e8\u7f72\u76d1\u63a7\u4e0e\u544a\u8b66<br \/>\n\u7f51\u7ad9\u6253\u4e0d\u5f00\u4e86&#xff0c;\u901a\u5e38\u4e0d\u662f\u6700\u9ebb\u70e6\u7684\u4e8b&#xff1b;\u771f\u6b63\u9ebb\u70e6\u7684\u662f&#xff0c;\u7528\u6237\u5df2\u7ecf\u5728\u53cd\u9988&#xff0c;\u800c\u7ef4\u62a4\u8005\u8fd8\u4e0d\u77e5\u9053\u6545\u969c\u662f\u4ec0\u4e48\u65f6\u5019\u5f00\u59cb\u7684\u3002<br \/>\nUptime Kuma \u662f\u4e00\u4e2a\u5f00\u6e90\u3001\u81ea\u6258\u7ba1\u7684\u670d\u52a1\u53ef\u7528\u6027\u76d1\u63a7\u5de5\u5177\u3002\u622a\u81f3 2026 \u5e74 8 \u6708 10 \u65e5&#xff0c;\u5176 GitHub \u4ed3\u5e93\u9875\u9762\u663e\u793a 90,028 Star\u3002\u5b83\u53ef\u4ee5\u76d1\u63a7 HTTP(S)\u3001TCP \u7aef\u53e3\u3001Ping\u3001DNS<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10606,27,1804,92,121],"topic":[],"class_list":["post-92765","post","type-post","status-publish","format-standard","hentry","category-server","tag-10606","tag-docker","tag-docker-compose","tag-github","tag-121"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma\uff1aDocker \u90e8\u7f72\u7f51\u7ad9\u76d1\u63a7\u3001\u544a\u8b66\u4e0e\u72b6\u6001\u9875 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/92765.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma\uff1aDocker \u90e8\u7f72\u7f51\u7ad9\u76d1\u63a7\u3001\u544a\u8b66\u4e0e\u72b6\u6001\u9875 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma&#xff1a;Docker\u90e8\u7f72\u76d1\u63a7\u4e0e\u544a\u8b66 \u7f51\u7ad9\u6253\u4e0d\u5f00\u4e86&#xff0c;\u901a\u5e38\u4e0d\u662f\u6700\u9ebb\u70e6\u7684\u4e8b&#xff1b;\u771f\u6b63\u9ebb\u70e6\u7684\u662f&#xff0c;\u7528\u6237\u5df2\u7ecf\u5728\u53cd\u9988&#xff0c;\u800c\u7ef4\u62a4\u8005\u8fd8\u4e0d\u77e5\u9053\u6545\u969c\u662f\u4ec0\u4e48\u65f6\u5019\u5f00\u59cb\u7684\u3002 Uptime Kuma \u662f\u4e00\u4e2a\u5f00\u6e90\u3001\u81ea\u6258\u7ba1\u7684\u670d\u52a1\u53ef\u7528\u6027\u76d1\u63a7\u5de5\u5177\u3002\u622a\u81f3 2026 \u5e74 8 \u6708 10 \u65e5&#xff0c;\u5176 GitHub \u4ed3\u5e93\u9875\u9762\u663e\u793a 90,028 Star\u3002\u5b83\u53ef\u4ee5\u76d1\u63a7 HTTP(S)\u3001TCP \u7aef\u53e3\u3001Ping\u3001DNS\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/92765.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-11T00:32:53+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92765.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/92765.html\",\"name\":\"GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma\uff1aDocker \u90e8\u7f72\u7f51\u7ad9\u76d1\u63a7\u3001\u544a\u8b66\u4e0e\u72b6\u6001\u9875 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-11T00:32:53+00:00\",\"dateModified\":\"2026-08-11T00:32:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/92765.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/92765.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92765.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma\uff1aDocker \u90e8\u7f72\u7f51\u7ad9\u76d1\u63a7\u3001\u544a\u8b66\u4e0e\u72b6\u6001\u9875\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma\uff1aDocker \u90e8\u7f72\u7f51\u7ad9\u76d1\u63a7\u3001\u544a\u8b66\u4e0e\u72b6\u6001\u9875 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/92765.html","og_locale":"zh_CN","og_type":"article","og_title":"GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma\uff1aDocker \u90e8\u7f72\u7f51\u7ad9\u76d1\u63a7\u3001\u544a\u8b66\u4e0e\u72b6\u6001\u9875 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma&#xff1a;Docker\u90e8\u7f72\u76d1\u63a7\u4e0e\u544a\u8b66 \u7f51\u7ad9\u6253\u4e0d\u5f00\u4e86&#xff0c;\u901a\u5e38\u4e0d\u662f\u6700\u9ebb\u70e6\u7684\u4e8b&#xff1b;\u771f\u6b63\u9ebb\u70e6\u7684\u662f&#xff0c;\u7528\u6237\u5df2\u7ecf\u5728\u53cd\u9988&#xff0c;\u800c\u7ef4\u62a4\u8005\u8fd8\u4e0d\u77e5\u9053\u6545\u969c\u662f\u4ec0\u4e48\u65f6\u5019\u5f00\u59cb\u7684\u3002 Uptime Kuma \u662f\u4e00\u4e2a\u5f00\u6e90\u3001\u81ea\u6258\u7ba1\u7684\u670d\u52a1\u53ef\u7528\u6027\u76d1\u63a7\u5de5\u5177\u3002\u622a\u81f3 2026 \u5e74 8 \u6708 10 \u65e5&#xff0c;\u5176 GitHub \u4ed3\u5e93\u9875\u9762\u663e\u793a 90,028 Star\u3002\u5b83\u53ef\u4ee5\u76d1\u63a7 HTTP(S)\u3001TCP \u7aef\u53e3\u3001Ping\u3001DNS","og_url":"https:\/\/www.wsisp.com\/helps\/92765.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-11T00:32:53+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/92765.html","url":"https:\/\/www.wsisp.com\/helps\/92765.html","name":"GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma\uff1aDocker \u90e8\u7f72\u7f51\u7ad9\u76d1\u63a7\u3001\u544a\u8b66\u4e0e\u72b6\u6001\u9875 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-11T00:32:53+00:00","dateModified":"2026-08-11T00:32:53+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/92765.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/92765.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/92765.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"GitHub\u7ecf\u5178\u9879\u76eeUptime Kuma\uff1aDocker \u90e8\u7f72\u7f51\u7ad9\u76d1\u63a7\u3001\u544a\u8b66\u4e0e\u72b6\u6001\u9875"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/92765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=92765"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/92765\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=92765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=92765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=92765"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=92765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}