aboutsummaryrefslogtreecommitdiff
path: root/app/backup/deploy
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-03-06 20:06:57 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-03-06 20:06:57 +0100
commitc0d86cb0a156ecb6a67f83250cd2cdeb42d29853 (patch)
tree147a453aa177a33dadd18c098931bfc39e46de1c /app/backup/deploy
parentd1a4ed0f7918005dc8972a83a919b99616f79112 (diff)
downloadinfrastructure-c0d86cb0a156ecb6a67f83250cd2cdeb42d29853.tar.gz
infrastructure-c0d86cb0a156ecb6a67f83250cd2cdeb42d29853.zip
Mount backup directory + export PGPASSWORD
Diffstat (limited to 'app/backup/deploy')
-rw-r--r--app/backup/deploy/backup-manual.hcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/backup/deploy/backup-manual.hcl b/app/backup/deploy/backup-manual.hcl
index 2e6ffef..1e8cab5 100644
--- a/app/backup/deploy/backup-manual.hcl
+++ b/app/backup/deploy/backup-manual.hcl
@@ -11,7 +11,8 @@ job "backup_manual" {
volumes = [
"secrets/id_ed25519:/root/.ssh/id_ed25519",
"secrets/id_ed25519.pub:/root/.ssh/id_ed25519.pub",
- "secrets/known_hosts:/root/.ssh/known_hosts"
+ "secrets/known_hosts:/root/.ssh/known_hosts",
+ "/mnt/glusterfs/chat/matrix/synapse/media:/mnt/glusterfs/chat/matrix/synapse/media"
]
network_mode = "host"
}