job "igsync" { datacenters = ["alo"] type = "batch" periodic { crons = [ "*/5 * * * *" ] prohibit_overlap = true } group "cron" { task "sync" { driver = "docker" config { image = "gitea.v.paler.net/alo/igsync:latest" # Mount the data directory for .env, database, and media files volumes = [ "/data/services/igsync:/data/services/igsync" ] # Force pull to always get latest image force_pull = true } resources { memory = 1024 cpu = 2000 } } } }