make proxy work a bit

This commit is contained in:
kento2 2026-08-18 19:23:30 +02:00
parent 15f60f0465
commit c4bf3b8bee

View file

@ -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