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