job "organice" { region = "global" datacenters = ["samfelag"] type = "service" group "organice" { count = 1 restart { attempts = 5 delay = "1m" } network { port "http" { to = 5000 } } task "organice" { driver = "docker" env { ORGANICE_WEBDAV_URL = "https://nextcloud.lajuntament.space/remote.php/dav/files/marc/" } config { image = "twohundredok/organice:latest" ports = ["http"] } resources { cpu = 100 memory = 128 } service { name = "organice" port = "http" check { type = "tcp" port = "http" interval = "30s" timeout = "2s" } } } } }