job "homer" { datacenters = ["nummer5"] group "apps" { count = 1 network { port "http"{ to = 8080 } } service { name = "homer" port = "http" tags = [ "traefik.enable=true", "traefik.http.routers.homer.rule=Host(`homer.service.nr5`)", ] } volume "homer-assets" { type = "csi" read_only = false source = "homer-assets" access_mode = "single-node-writer" attachment_mode = "file-system" } task "homer" { driver = "podman" config { image = "b4bz/homer:latest" ports = ["http"] } volume_mount { volume = "homer-assets" destination = "/www/assets" } resources { cpu = 10 memory = 32 } } } }