Update rendered example

This commit is contained in:
Daniel Berteaud 2024-02-12 13:35:25 +01:00
parent a7f92dd06c
commit debeda4d52
2 changed files with 9 additions and 2 deletions

View File

@ -30,13 +30,18 @@ job "immich" {
proxy {
upstreams {
destination_name = "immich-ml"
destination_type = "service"
local_bind_port = 3003
# Work arround, see https://github.com/hashicorp/nomad/issues/18538
destination_type = "service"
config {
protocol = "http"
}
}
upstreams {
destination_name = "postgres"
destination_type = "service"
local_bind_port = 5432
# Work arround, see https://github.com/hashicorp/nomad/issues/18538
destination_type = "service"
}
}
}

View File

@ -44,6 +44,8 @@ immich:
upstreams:
- destination_name: '[[ .instance ]]-ml[[ .consul.suffix ]]'
local_bind_port: 3003
config:
protocol: http
- destination_name: postgres[[ .consul.suffix ]]
local_bind_port: 5432