job "gitea-runner" { datacenters = [ "nummer5", ] type = "service" group "apps" { count = 1 constraint { operator = "distinct_hosts" value = "true" } restart { attempts = 5 delay = "60s" } task "gitea-runner" { driver = "podman" config { image = "docker.io/gitea/act_runner:nightly" volumes = [ "/var/run/podman/podman.sock:/var/run/docker.sock" ] } env { GITEA_INSTANCE_URL = "http://gitea.service.consul" GITEA_RUNNER_REGISTRATION_TOKEN = "nRXCoyksvWyPiijnTmcrYO8D8RNBlsCMdGctCLiA" } resources { cpu = 600 memory = 512 } } } }