Add a new parameter to stolon

This commit is contained in:
Quentin 2021-03-07 11:43:46 +01:00
parent a69efd9b31
commit b608567648
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
job "backup_manual" { job "backup_manual_matrix" {
datacenters = ["dc1"] datacenters = ["dc1"]
type = "batch" type = "batch"

View file

@ -46,7 +46,8 @@ job "postgres" {
"--store-backend", "consul", "--store-backend", "consul",
"--store-endpoints", "http://consul.service.2.cluster.deuxfleurs.fr:8500", "--store-endpoints", "http://consul.service.2.cluster.deuxfleurs.fr:8500",
"--port", "${NOMAD_PORT_psql_proxy_port}", "--port", "${NOMAD_PORT_psql_proxy_port}",
"--listen-address", "0.0.0.0" "--listen-address", "0.0.0.0",
"--stop-listening", "false"
] ]
ports = [ "psql_proxy_port" ] ports = [ "psql_proxy_port" ]
} }