From b455f8473ec4630478e2882863d7cca64481085f Mon Sep 17 00:00:00 2001 From: wizzdom Date: Tue, 16 Jan 2024 02:36:35 +0000 Subject: [PATCH] mc: update main vanilla server --- jobs/minecraft.hcl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/jobs/minecraft.hcl b/jobs/minecraft.hcl index ad1354e..61d1459 100644 --- a/jobs/minecraft.hcl +++ b/jobs/minecraft.hcl @@ -19,11 +19,14 @@ job "minecraft" { name = "vanilla-mc" } - task "minecraft-server" { + task "minecraft-vanilla" { driver = "docker" config { image = "itzg/minecraft-server" ports = ["mc-vanilla-port","mc-vanilla-rcon"] + volumes = [ + "/storage/nomad/${NOMAD_TASK_NAME}:/data" + ] } resources { @@ -33,7 +36,10 @@ job "minecraft" { env { EULA = "TRUE" + TYPE = "PAPER" + ICON = "https://docs.redbrick.dcu.ie/assets/logo.png" MEMORY = "6G" + MOTD = "LONG LIVE THE REDBRICK" } } }