From ffbff353166e4612f1eb4ff8017b4966f77b9df0 Mon Sep 17 00:00:00 2001 From: wizzdom Date: Tue, 23 Jan 2024 04:58:27 +0000 Subject: [PATCH] add ayden discord bot --- .../general/ayden-discord-bot.hcl | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 jobs/user-projects/general/ayden-discord-bot.hcl diff --git a/jobs/user-projects/general/ayden-discord-bot.hcl b/jobs/user-projects/general/ayden-discord-bot.hcl new file mode 100644 index 0000000..19b88f6 --- /dev/null +++ b/jobs/user-projects/general/ayden-discord-bot.hcl @@ -0,0 +1,36 @@ +job "ayden-discord-bot" { + datacenters = ["aperture"] + type = "service" + + group "discordbotgoml" { + count = 1 + + task "discordbotgoml" { + driver = "docker" + + config { + image = "ghcr.io/aydenjahola/discordbotgoml:main" + auth { + username = "${DOCKER_USER}" + password = "${DOCKER_PASS}" + } + } + + resources { + cpu = 500 + memory = 256 + } + + template { + data = <