From 66a4bf0c5c76a9c74dacb453caf9ca2f83df8a92 Mon Sep 17 00:00:00 2001 From: naiba Date: Mon, 9 Nov 2020 12:02:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20always=20auto=20restart?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2a70566..23677bf 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ C/S 采用 gRPC 通信,客户端通过添加主机生成的单独 Token 上报 - 5555:5555 agent: image: docker.pkg.github.com/p14yground/nezha/agent + restart: always depends_on: - dashboard environment: @@ -123,6 +124,7 @@ C/S 采用 gRPC 通信,客户端通过添加主机生成的单独 Token 上报 services: agent: image: docker.pkg.github.com/p14yground/nezha/agent + restart: always environment: - ID=1 #节点ID,启动后在管理后台添加后显示 - SECRET=secret #节点密钥,启动后在管理后台添加后显示