aboutsummaryrefslogtreecommitdiff
path: root/app/email/deploy/email.hcl
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-09-14 17:46:06 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-09-14 17:46:06 +0200
commitacd46fde80585764224395a6de93a217a0ff2a30 (patch)
tree04d1cec052b72476875e532539b1dd7e6341028a /app/email/deploy/email.hcl
parent6716687fd7d15867d9b43d1560515f29f8260e95 (diff)
downloadinfrastructure-acd46fde80585764224395a6de93a217a0ff2a30.tar.gz
infrastructure-acd46fde80585764224395a6de93a217a0ff2a30.zip
Remove connection limit dovecot
Diffstat (limited to 'app/email/deploy/email.hcl')
-rw-r--r--app/email/deploy/email.hcl9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/email/deploy/email.hcl b/app/email/deploy/email.hcl
index c0a651a..84e66b8 100644
--- a/app/email/deploy/email.hcl
+++ b/app/email/deploy/email.hcl
@@ -29,7 +29,7 @@ job "email" {
driver = "docker"
config {
- image = "superboum/amd64_dovecot:v5"
+ image = "superboum/amd64_dovecot:v6"
readonly_rootfs = false
ports = [ "zauthentication_port", "imaps_port", "imap_port", "lmtp_port" ]
command = "dovecot"
@@ -37,7 +37,7 @@ job "email" {
volumes = [
"secrets/ssl/certs:/etc/ssl/certs",
"secrets/ssl/private:/etc/ssl/private",
- "secrets/conf/dovecot-ldap.conf:/etc/dovecot/dovecot-ldap.conf",
+ "secrets/conf/:/etc/dovecot/",
"/mnt/glusterfs/email/mail:/var/mail/",
]
}
@@ -135,6 +135,11 @@ job "email" {
destination = "secrets/conf/dovecot-ldap.conf"
perms = "400"
}
+ template {
+ data = file("../config/dovecot/dovecot.conf")
+ destination = "secrets/conf/dovecot.conf"
+ perms = "400"
+ }
# ----- secrets ------
template {