Add a new parameter to stolon
This commit is contained in:
parent
a69efd9b31
commit
b608567648
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
job "backup_manual" {
|
job "backup_manual_matrix" {
|
||||||
datacenters = ["dc1"]
|
datacenters = ["dc1"]
|
||||||
|
|
||||||
type = "batch"
|
type = "batch"
|
|
@ -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" ]
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue