From 8437b9d1e54231f3a9df5ddbbe75e2a6f1ced757 Mon Sep 17 00:00:00 2001 From: Ayden Jahola Date: Fri, 1 Nov 2024 23:01:00 +0000 Subject: [PATCH] add esports bot job --- jobs/socs/esports-discord-bot.hcl | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 jobs/socs/esports-discord-bot.hcl diff --git a/jobs/socs/esports-discord-bot.hcl b/jobs/socs/esports-discord-bot.hcl new file mode 100644 index 0000000..b961337 --- /dev/null +++ b/jobs/socs/esports-discord-bot.hcl @@ -0,0 +1,38 @@ +job "esports-discord-bot" { + datacenters = ["aperture"] + type = "service" + + group "esports-bot" { + count = 1 + + task "esports-bot" { + driver = "docker" + + config { + image = "ghcr.io/aydenjahola/discord-multipurpose-bot:main" + force_pull = true + } + + resources { + cpu = 500 + memory = 256 + } + + template { + data = <