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