job "seedboxsync" { datacenters = ["homelab"] priority = 50 type = "batch" meta { forcedeploy = "0" } # constraint { #} periodic { cron = "0,30 * * * *" prohibit_overlap = true } group "seedboxsync"{ network { mode = "host" } vault{ policies= ["access-tables"] } task "server" { driver = "docker" service { name = "lftp" } config { image = "minidocks/lftp" volumes = [ "/mnt/diskstation/media/download:/media" ] args=[ "-u" ,"${USERNAME},${PASSWORD}", "-e" ,"mirror -c -P 5 -x seed ${REMOTE_PATH} /media;quit", "${REMOTE_SERVER}" ] } template { data= <