wip
This commit is contained in:
8
zabbix-agent2/build.yaml
Normal file
8
zabbix-agent2/build.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
build_from:
|
||||
aarch64: ghcr.io/hassio-addons/base:16.1.0
|
||||
amd64: ghcr.io/hassio-addons/base:16.1.0
|
||||
armv7: ghcr.io/hassio-addons/base:16.1.0
|
||||
codenotary:
|
||||
base_image: codenotary@frenck.dev
|
||||
signer: codenotary@frenck.dev
|
||||
@@ -20,7 +20,6 @@ host_pid: true
|
||||
host_network: true
|
||||
docker_api: true
|
||||
advanced: true
|
||||
legacy: true
|
||||
map:
|
||||
- addon_config:rw
|
||||
ports:
|
||||
|
||||
@@ -9,4 +9,5 @@ if ! bashio::fs.file_exists "${ZBX_CFG_FILE}" || [ -z "$(ls -A ${ZBX_CFG_FILE})"
|
||||
fi
|
||||
|
||||
# Run zabbix-agent2 in foreground
|
||||
zabbix_agent2 --foreground -c /config/zabbix_agent2.conf
|
||||
# zabbix_agent2 --foreground -c /config/zabbix_agent2.conf
|
||||
exec /etc/services.d/zabbix_agent2/run
|
||||
Reference in New Issue
Block a user