make proxy work a bit
This commit is contained in:
parent
15f60f0465
commit
c4bf3b8bee
1 changed files with 14 additions and 1 deletions
|
|
@ -8,7 +8,19 @@ job "velocity" {
|
||||||
static = 25565
|
static = 25565
|
||||||
}
|
}
|
||||||
dns {
|
dns {
|
||||||
server = ["127.0.0.1"]
|
servers = ["127.0.0.1"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
service {
|
||||||
|
name = "velocity"
|
||||||
|
port = "ingress"
|
||||||
|
address_mode = "host"
|
||||||
|
|
||||||
|
check {
|
||||||
|
type = "tcp"
|
||||||
|
interval = "5s"
|
||||||
|
timeout = "1s"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -16,6 +28,7 @@ job "velocity" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
config {
|
config {
|
||||||
image = "scrow/velocity:local"
|
image = "scrow/velocity:local"
|
||||||
|
ports = ["ingress"]
|
||||||
}
|
}
|
||||||
resources {
|
resources {
|
||||||
cpu = 1000
|
cpu = 1000
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue