mc: update main vanilla server
This commit is contained in:
parent
4fe992adf5
commit
b455f8473e
1 changed files with 7 additions and 1 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue