mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
🚸 always auto restart
This commit is contained in:
parent
c914c12337
commit
66a4bf0c5c
@ -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 #节点密钥,启动后在管理后台添加后显示
|
||||
|
Loading…
Reference in New Issue
Block a user