mc: update main vanilla server

This commit is contained in:
wizzdom 2024-01-16 02:36:35 +00:00
parent 4fe992adf5
commit b455f8473e

View file

@ -19,11 +19,14 @@ job "minecraft" {
name = "vanilla-mc" name = "vanilla-mc"
} }
task "minecraft-server" { task "minecraft-vanilla" {
driver = "docker" driver = "docker"
config { config {
image = "itzg/minecraft-server" image = "itzg/minecraft-server"
ports = ["mc-vanilla-port","mc-vanilla-rcon"] ports = ["mc-vanilla-port","mc-vanilla-rcon"]
volumes = [
"/storage/nomad/${NOMAD_TASK_NAME}:/data"
]
} }
resources { resources {
@ -33,7 +36,10 @@ job "minecraft" {
env { env {
EULA = "TRUE" EULA = "TRUE"
TYPE = "PAPER"
ICON = "https://docs.redbrick.dcu.ie/assets/logo.png"
MEMORY = "6G" MEMORY = "6G"
MOTD = "LONG LIVE THE REDBRICK"
} }
} }
} }