Update rendered example
This commit is contained in:
parent
a7f92dd06c
commit
debeda4d52
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue