merge existing configs

This commit is contained in:
wizzdom 2024-04-11 14:46:14 +01:00
parent 1f1474aeed
commit af6901025f
2 changed files with 6 additions and 1 deletions

View file

@ -146,6 +146,9 @@ job "minecraft" {
port "mc-olim909-rcon" { port "mc-olim909-rcon" {
to = 25575 to = 25575
} }
port "mc-olim909-geyser" {
to = 19132
}
} }
service { service {
@ -157,7 +160,7 @@ job "minecraft" {
config { config {
image = "itzg/minecraft-server" image = "itzg/minecraft-server"
ports = ["mc-olim909-port","mc-olim909-rcon"] ports = ["mc-olim909-port","mc-olim909-rcon","mc-olim909-geyser"]
volumes = [ volumes = [
"/storage/nomad/${NOMAD_TASK_NAME}:/data" "/storage/nomad/${NOMAD_TASK_NAME}:/data"

View file

@ -52,6 +52,8 @@ config:
backend: vanilla-mc.service.consul:25567 backend: vanilla-mc.service.consul:25567
- host: olim909.rb.dcu.ie - host: olim909.rb.dcu.ie
backend: olim909-mc.service.consul:25568 backend: olim909-mc.service.consul:25568
- host: olim909-geyser.rb.dcu.ie
backend: olim909-mc.service.consul:19132
- host: fugatives.rb.dcu.ie - host: fugatives.rb.dcu.ie
backend: fugatives-mc.service.consul:25570 backend: fugatives-mc.service.consul:25570
- host: regaus.rb.dcu.ie - host: regaus.rb.dcu.ie