Explorar el Código

Do not read environment from env_file

jherve hace 1 mes
padre
commit
f3c513b3b0
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0 3
      start.py

+ 0 - 3
start.py

@@ -27,7 +27,6 @@ def main():
     config_d_path = Path.cwd() / "data" / "borgmatic.d"
     config_path = Path.cwd() / "data" / "borgmatic"
     credentials_path = Path.cwd() / "data" / "credentials"
-    storage_box_env = credentials_path / "storage_box_env"
     ssh_config_path = Path.home() / ".ssh"
     volumes = [
         f"{config_d_path}:/etc/borgmatic.d/",
@@ -64,8 +63,6 @@ def main():
         "SSH_KEY_NAME",
         "-e",
         f"HOST_LOGIN={os.getlogin()}",
-        "--env-file",
-        storage_box_env,
         "--security-opt=label=disable"
     ] + volume_args + [image_name]
     print(args)