job "backup_manual" { datacenters = ["dc1"] type = "batch" task "backup-matrix" { driver = "docker" config { image = "superboum/backup_matrix:2" volumes = [ "secrets/id_ed25519:/root/.ssh/id_ed25519", "secrets/id_ed25519.pub:/root/.ssh/id_ed25519.pub", "secrets/known_hosts:/root/.ssh/known_hosts", "/mnt/glusterfs/chat/matrix/synapse/media:/mnt/glusterfs/chat/matrix/synapse/media" ] network_mode = "host" } env { CONSUL_HTTP_ADDR = "http://consul.service.2.cluster.deuxfleurs.fr:8500" } template { data = <