Bladeren bron

Enable ssh auth via agent

jherve 1 maand geleden
bovenliggende
commit
f20708c0b1
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  1. 3 0
      start.sh

+ 3 - 0
start.sh

@@ -30,5 +30,8 @@ podman run \
   -v borg_config:/root/.config/borg \
   -v borg_cache:/root/.cache/borg \
   -v borgmatic_state:/root/.local/state/borgmatic \
+  -v ${SSH_AUTH_SOCK}:${SSH_AUTH_SOCK}:Z \
+  -e SSH_AUTH_SOCK \
   -e TZ=Europe/Paris \
+  --security-opt=label=disable \
   ghcr.io/borgmatic-collective/borgmatic