Explorar el Código

Fix credentials

jherve hace 1 mes
padre
commit
d5ca678f4d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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",