diff --git a/jobs/webgroup/blockbot.hcl b/jobs/webgroup/blockbot.hcl new file mode 100644 index 0000000..75b3298 --- /dev/null +++ b/jobs/webgroup/blockbot.hcl @@ -0,0 +1,32 @@ +job "blockbot" { + datacenters = ["aperture"] + + type = "service" + + group "blockbot" { + count = 1 + + task "blockbot" { + driver = "docker" + + config { + image = "ghcr.io/redbrick/blockbot" + entrypoint = ["python3", "src/main.py"] + } + + resources { + cpu = 500 + memory = 256 + } + + template { + data = <