feat: use Restic for encrypted incremental backups
Keep legacy restores readable while using Restic for new captures, scoped Wormhole repositories, and chunk garbage collection.
This commit is contained in:
@@ -12,9 +12,13 @@ COPY crates ./crates
|
||||
COPY --from=web /build/dist ./web/dist
|
||||
RUN cargo build --release -p tessera-hub
|
||||
|
||||
FROM restic/restic:0.19.1 AS restic
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates postgresql-client && rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=rust /build/target/release/tessera-hub /usr/local/bin/
|
||||
COPY --from=restic /usr/bin/restic /usr/local/bin/restic
|
||||
RUN restic version
|
||||
ENV TESSERA_LISTEN=0.0.0.0:8787
|
||||
ENV TESSERA_DATA_DIR=/data
|
||||
EXPOSE 8787
|
||||
|
||||
Reference in New Issue
Block a user