Kaynağa Gözat

Fix credentials

jherve 1 ay önce
ebeveyn
işleme
d5ca678f4d
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      start.py

+ 2 - 0
start.py

@@ -10,9 +10,11 @@ def main():
     container_name = "borgmatic"
     ssh_auth_sock = os.getenv("SSH_AUTH_SOCK")
     config_path = Path.cwd() / "data" / "borgmatic.d"
+    credentials_path = Path.cwd() / "data" / "credentials"
     ssh_config_path = Path.home() / ".ssh"
     volumes = [
         f"{config_path}:/etc/borgmatic.d/",
+        f"{credentials_path}:/credentials/",
         f"{ssh_config_path}:/root/.ssh",
         "borg_config:/root/.config/borg",
         "borg_cache:/root/.cache/borg",