.
This commit is contained in:
parent
dede9ce18d
commit
15f60f0465
7 changed files with 111 additions and 270 deletions
|
|
@ -1,21 +1,25 @@
|
|||
job "velocity" {
|
||||
type = "service"
|
||||
|
||||
group "proxy" {
|
||||
group "velocity" {
|
||||
network {
|
||||
port "minecraft" {
|
||||
mode = "bridge"
|
||||
port "ingress" {
|
||||
static = 25565
|
||||
}
|
||||
dns {
|
||||
server = ["127.0.0.1"]
|
||||
}
|
||||
}
|
||||
|
||||
task "velocity" {
|
||||
driver = "docker"
|
||||
config {
|
||||
image = "scrow/velocity:local"
|
||||
}
|
||||
resources {
|
||||
cpu = 2000
|
||||
memory = 1000
|
||||
driver = "docker"
|
||||
config {
|
||||
image = "scrow/velocity:local"
|
||||
}
|
||||
resources {
|
||||
cpu = 1000
|
||||
memory = 500
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue