aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/email/deploy/email.hcl8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/email/deploy/email.hcl b/app/email/deploy/email.hcl
index a6b4a4c..96f9015 100644
--- a/app/email/deploy/email.hcl
+++ b/app/email/deploy/email.hcl
@@ -28,6 +28,12 @@ job "email" {
task "server" {
driver = "docker"
+ constraint {
+ attribute = "${attr.unique.hostname}"
+ operator = "="
+ value = "digitale"
+ }
+
config {
image = "superboum/amd64_dovecot:v6"
readonly_rootfs = false
@@ -38,7 +44,7 @@ job "email" {
"secrets/ssl/certs:/etc/ssl/certs",
"secrets/ssl/private:/etc/ssl/private",
"secrets/conf/:/etc/dovecot/",
- "/mnt/glusterfs/email/mail:/var/mail/",
+ "/mnt/ssd/mail:/var/mail/",
]
}