Mount private key

This commit is contained in:
Andras Schmelczer 2024-06-02 12:03:11 +01:00
parent d7f899c7bd
commit 659b8569e3
4 changed files with 9 additions and 5 deletions

View file

@ -1,4 +1,9 @@
source
logs
source # this is a temporary directory we have to mount to allow snapshoting to
logs # this is a folder for the volume logs are written to
.git
.gitignore
README.md
id_rsa
docker-compose.yml
Dockerfile
.dockerignore

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
source
logs
id_rsa

View file

@ -1,10 +1,9 @@
FROM alpine:3.18.2
FROM alpine:3.20.0
USER root
RUN apk --no-cache add btrfs-progs openssh borgbackup bash coreutils
COPY id_rsa /id_rsa
COPY ssh_config /etc/ssh/
COPY src /src
COPY exclude.conf /exclude.conf

View file

@ -1,5 +1,4 @@
Host *
StrictHostKeyChecking no
IdentityFile /id_rsa
ServerAliveInterval 30
ServerAliveCountMax 3