From dd83060357d4e20daf8681c11f8fe7ddc17f4b04 Mon Sep 17 00:00:00 2001 From: Mathieu Strypsteen Date: Tue, 3 Dec 2024 09:58:39 +0100 Subject: [PATCH] Fix borg --- containers/big-agi/Containerfile | 2 +- server/etc/containers/systemd/borgmatic.container | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/containers/big-agi/Containerfile b/containers/big-agi/Containerfile index 96182c1..fd52826 100644 --- a/containers/big-agi/Containerfile +++ b/containers/big-agi/Containerfile @@ -1,6 +1,6 @@ FROM registry.access.redhat.com/ubi9 AS builder RUN curl -L https://github.com/enricoros/big-AGI/archive/refs/heads/v2-dev.tar.gz | tar xz && mv big-AGI-* big-AGI -FROM registry.access.redhat.com/ubi9/nodejs-20-minimal +FROM registry.access.redhat.com/ubi9/nodejs-22-minimal ENV NEXT_TELEMETRY_DISABLED 1 COPY --from=builder /big-AGI . RUN mv middleware_BASIC_AUTH.ts middleware.ts diff --git a/server/etc/containers/systemd/borgmatic.container b/server/etc/containers/systemd/borgmatic.container index bab27bc..e42d67a 100644 --- a/server/etc/containers/systemd/borgmatic.container +++ b/server/etc/containers/systemd/borgmatic.container @@ -4,7 +4,7 @@ SecurityLabelDisable=true UserNS=host HostName=borgmatic Volume=/var/lib/system-config/container-config/borgmatic/config.yaml:/etc/borgmatic/config.yaml:z,ro -Volume=/var/lib/container-data/borgmatic.yaml:/etc/borgmatic/local.yaml:z,ro +Volume=/var/lib/system-config/container-config/borgmatic/%H.yaml:/etc/borgmatic/local.yaml:z,ro Volume=/:/run/host:ro Volume=borgmatic-cache.volume:/root/.cache/borg:U,Z Volume=borgmatic-config.volume:/root/.config/borg:U,Z