diff --git a/docker/restic-exporter.nix b/docker/restic-exporter.nix new file mode 100644 index 0000000..343d86e --- /dev/null +++ b/docker/restic-exporter.nix @@ -0,0 +1,26 @@ +{ config, pkgs, ... }: +let + host = "restic.atlanticaweb.fr"; +in +{ + virtualisation = { + podman = { + enable = true; + dockerCompat = true; + }; + oci-containers = { + backend = "podman"; + containers.restic-exporter = { + image = "ngosang/restic-exporter"; + autoStart = true; + ports = [ "8001:8001" ]; #server locahost : docker localhost + volumes = [ "/opt/restic:/data" ]; + environment = [ + "TZ=Europe/Paris" + "RESTIC_REPO_URL=sftp:u329746@u329746.your-storagebox.de:/home/Nextcloud" + "RESTIC_REPO_PASSWORD=herzleid" + ]; + }; + }; + }; +}