aboutsummaryrefslogtreecommitdiff
path: root/app/postgres/deploy/postgres.hcl
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-03-07 11:43:46 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-03-07 11:43:46 +0100
commitb6085676483fc8308fa4a1954e3fb18052186e49 (patch)
treeccedddac34b94483504312c2343512b622bac7f3 /app/postgres/deploy/postgres.hcl
parenta69efd9b3105e0c4abf1fb8f9944fac64d9c5165 (diff)
downloadinfrastructure-b6085676483fc8308fa4a1954e3fb18052186e49.tar.gz
infrastructure-b6085676483fc8308fa4a1954e3fb18052186e49.zip
Add a new parameter to stolon
Diffstat (limited to 'app/postgres/deploy/postgres.hcl')
-rw-r--r--app/postgres/deploy/postgres.hcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/postgres/deploy/postgres.hcl b/app/postgres/deploy/postgres.hcl
index 6f71b4c..55a8144 100644
--- a/app/postgres/deploy/postgres.hcl
+++ b/app/postgres/deploy/postgres.hcl
@@ -46,7 +46,8 @@ job "postgres" {
"--store-backend", "consul",
"--store-endpoints", "http://consul.service.2.cluster.deuxfleurs.fr:8500",
"--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" ]
}