aboutsummaryrefslogtreecommitdiff
path: root/app
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
parenta69efd9b3105e0c4abf1fb8f9944fac64d9c5165 (diff)
downloadinfrastructure-b6085676483fc8308fa4a1954e3fb18052186e49.tar.gz
infrastructure-b6085676483fc8308fa4a1954e3fb18052186e49.zip
Add a new parameter to stolon
Diffstat (limited to 'app')
-rw-r--r--app/backup/deploy/backup-matrix.hcl (renamed from app/backup/deploy/backup-manual.hcl)2
-rw-r--r--app/postgres/deploy/postgres.hcl3
2 files changed, 3 insertions, 2 deletions
diff --git a/app/backup/deploy/backup-manual.hcl b/app/backup/deploy/backup-matrix.hcl
index 08b3784..8d0eb32 100644
--- a/app/backup/deploy/backup-manual.hcl
+++ b/app/backup/deploy/backup-matrix.hcl
@@ -1,4 +1,4 @@
-job "backup_manual" {
+job "backup_manual_matrix" {
datacenters = ["dc1"]
type = "batch"
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" ]
}