fix(elk): update inbound port from 8080 to 9200 for es nodes

- this is the standard port for http es
- services can now connect on the standard port with service discovery from outside the cluster
This commit is contained in:
Ben Martin 2024-12-19 02:33:03 +00:00
parent cfb99179b6
commit 66c258aabc
Signed by: ben
GPG key ID: 859A655FCD290E4A

View file

@ -122,13 +122,13 @@ job "elk" {
network { network {
mode = "bridge" mode = "bridge"
port "inbound" { port "inbound" {
to = 8080 static = 9200
} }
} }
service { service {
name = "es-ingress-service" name = "es-ingress-service"
port = "inbound" port = 9200
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
@ -143,7 +143,7 @@ job "elk" {
gateway { gateway {
ingress { ingress {
listener { listener {
port = 8080 port = 9200
protocol = "tcp" protocol = "tcp"
service { service {
name = "elk-node" name = "elk-node"