Update add-ons and persist Vector data

This commit is contained in:
sinav committed 2026-11-07 08:25:04 +03:00
1 parent f0f325a3d3
commit 0ded6f19a0
11 files changed
+24 -45

No files matched your search

+6 -7
View File
@@ -1,20 +1,19 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base:9.2.0 FROM ghcr.io/hassio-addons/debian-base:9.5.2
# hadolint ignore=DL3006
FROM ${BUILD_FROM}
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG COREDNS_VERSION=1.14.6 ARG COREDNS_VERSION=1.15.0
WORKDIR /coredns WORKDIR /coredns
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y ca-certificates libcap2-bin \ && apt-get install -y --no-install-recommends ca-certificates \
&& apt-get clean \ && apt-get clean \
&& curl -sSL -o coredns.tgz \ && curl -fsSL -o coredns.tgz \
https://github.com/coredns/coredns/releases/download/v${COREDNS_VERSION}/coredns_${COREDNS_VERSION}_linux_amd64.tgz \ https://github.com/coredns/coredns/releases/download/v${COREDNS_VERSION}/coredns_${COREDNS_VERSION}_linux_amd64.tgz \
&& tar -xvf coredns.tgz \ && tar -xvf coredns.tgz \
&& chmod +x coredns && chmod +x coredns \
&& rm -rf coredns.tgz /var/lib/apt/lists/*
LABEL \ LABEL \
org.opencontainers.image.title="CoreDNS Add-on" \ org.opencontainers.image.title="CoreDNS Add-on" \
-5
View File
@@ -1,5 +0,0 @@
---
build_from:
amd64: ghcr.io/hassio-addons/debian-base/amd64:9.3.0
codenotary:
base_image: [email protected]
+1 -1
View File
@@ -1,5 +1,5 @@
name: "Coredns" name: "Coredns"
version: "1.14.6" version: "1.15.0"
slug: "coredns" slug: "coredns"
description: "CoreDNS is a DNS server that chains plugins " description: "CoreDNS is a DNS server that chains plugins "
url: "https://coredns.io/" url: "https://coredns.io/"
+8 -11
View File
@@ -1,21 +1,18 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base:9.2.0 FROM ghcr.io/hassio-addons/debian-base:9.5.2
# hadolint ignore=DL3006
FROM ${BUILD_FROM}
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG VECTOR_VERSION=0.57.0 ARG VECTOR_VERSION=0.61.0
WORKDIR /vector
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends systemd \ && apt-get install -y --no-install-recommends systemd \
&& apt-get clean \ && apt-get clean \
&& mkdir -p /var/lib/vector \ && mkdir -p /tmp/vector \
&& curl -sSL -o vector.tar.gz \ && curl -fsSL "https://github.com/vectordotdev/vector/releases/download/v${VECTOR_VERSION}/vector-${VECTOR_VERSION}-x86_64-unknown-linux-musl.tar.gz" \
https://github.com/vectordotdev/vector/releases/download/v${VECTOR_VERSION}/vector-${VECTOR_VERSION}-x86_64-unknown-linux-musl.tar.gz \ | tar -xz -C /tmp/vector --strip-components=2 \
&& tar -xvf vector.tar.gz --strip-components=2 \ && mv /tmp/vector/bin/vector /usr/local/bin/vector \
&& cp /vector/bin/* /usr/local/bin/ && rm -rf /tmp/vector /var/lib/apt/lists/* \
&& ln -sT /data/vector /var/lib/vector
LABEL \ LABEL \
org.opencontainers.image.title="Vector Add-on" \ org.opencontainers.image.title="Vector Add-on" \
-5
View File
@@ -1,5 +0,0 @@
---
build_from:
amd64: ghcr.io/hassio-addons/debian-base/amd64:9.3.0
codenotary:
base_image: [email protected]
+1 -1
View File
@@ -1,5 +1,5 @@
name: "Vector" name: "Vector"
version: "0.57.0" version: "0.61.0"
slug: "vector" slug: "vector"
description: "Vector log processor" description: "Vector log processor"
url: "https://vector.dev" url: "https://vector.dev"
@@ -23,4 +23,5 @@ else
bashio::log.info "Using existing configuration at $CONFIG_PATH" bashio::log.info "Using existing configuration at $CONFIG_PATH"
fi fi
mkdir -p /data/vector || exit 1
exec /usr/local/bin/vector --config /config/vector.yaml exec /usr/local/bin/vector --config /config/vector.yaml
+1 -1
View File
@@ -1,4 +1,4 @@
data_dir: /var/lib/vector data_dir: /data/vector
sources: sources:
demo: demo:
+5 -7
View File
@@ -1,13 +1,11 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base:9.2.0 FROM ghcr.io/hassio-addons/debian-base:9.5.2
# hadolint ignore=DL3006
FROM ${BUILD_FROM}
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG MAJOR_VERSION=7.4 ARG MAJOR_VERSION=8.0
ARG ZABBIX_VERSION=${MAJOR_VERSION}.13 ARG ZABBIX_VERSION=${MAJOR_VERSION}.0
ARG ZABBIX_DEB_URL="https://repo.zabbix.com/zabbix/${MAJOR_VERSION}/release/debian/pool/main/z/zabbix-release" ARG ZABBIX_DEB_URL="https://repo.zabbix.com/zabbix/${MAJOR_VERSION}/release/debian/pool/main/z/zabbix-release"
ARG ZABBIX_DEB_PKG="zabbix-release_latest_${MAJOR_VERSION}+debian12_all.deb" ARG ZABBIX_DEB_PKG="zabbix-release_latest_${MAJOR_VERSION}+debian13_all.deb"
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y wget gnupg2 lsb-release && \ apt-get install -y wget gnupg2 lsb-release && \
@@ -15,7 +13,7 @@ RUN apt-get update && \
dpkg -i /tmp/zabbix-release.deb && \ dpkg -i /tmp/zabbix-release.deb && \
apt-get update && \ apt-get update && \
apt-get install -y \ apt-get install -y \
zabbix-agent2=1:${ZABBIX_VERSION}* \ zabbix-agent2=2:${ZABBIX_VERSION}-* \
smartmontools \ smartmontools \
sudo \ sudo \
iputils-ping && \ iputils-ping && \
-5
View File
@@ -1,5 +0,0 @@
---
build_from:
amd64: ghcr.io/hassio-addons/debian-base/amd64:9.3.0
codenotary:
base_image: [email protected]
+1 -2
View File
@@ -1,6 +1,6 @@
--- ---
name: zabbix-agent2 name: zabbix-agent2
version: "7.4.13" version: "8.0.0"
slug: zabbix-agent2 slug: zabbix-agent2
description: Zabbix agent 2 description: Zabbix agent 2
url: https://gitea.sinav-lab.com/sinav/haos-addons url: https://gitea.sinav-lab.com/sinav/haos-addons
@@ -18,7 +18,6 @@ options: {}
schema: {} schema: {}
ports: ports:
10050/tcp: 10050 10050/tcp: 10050
10051/tcp: 10051
devices: devices:
- /dev/nvme0 - /dev/nvme0
privileged: privileged: