1
0

Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2024-12-15 16:04:37 +00:00
parent 78712146ba
commit bb1b256e93
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CONTAINER_NAME="nezha-agent"
NZ_CLENT_SECRET="xxxxx"
NZ_GRPC_URL="http://1.2.3.4:5555"

View File

@@ -0,0 +1,16 @@
additionalProperties:
formFields:
- default: ""
edit: true
envKey: NZ_GRPC_URL
labelEn: "Nezha gRPC URL"
labelZh: 哪吒 gRPC 地址
required: true
type: text
- default: ""
edit: true
envKey: NZ_CLENT_SECRET
labelEn: "Nezha client secret"
labelZh: 哪吒客户端密钥
required: true
type: password

View File

@@ -0,0 +1,11 @@
services:
nezha-agent:
image: "whoer/nezha-agent:1.1.4"
container_name: ${CONTAINER_NAME}
restart: always
command: --tls -s ${NZ_GRPC_URL} -p ${NZ_CLENT_SECRET} -d
volumes:
- /etc:/etc:ro
network_mode: host
labels:
createdBy: "Apps"