nomad/jobs/webgroup/blockbot.hcl
2023-11-13 11:09:55 +00:00

31 lines
453 B
HCL

job "blockbot" {
datacenters = ["aperture"]
type = "service"
group "blockbot" {
count = 1
task "blockbot" {
driver = "docker"
config {
image = "ghcr.io/redbrick/blockbot"
}
resources {
cpu = 500
memory = 256
}
template {
data = <<EOF
TOKEN={{ key "blockbot/discord/token" }}
DEBUG=false
EOF
destination = "local/.env"
env = true
}
}
}
}