aboutsummaryrefslogtreecommitdiff
path: root/app/email/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'app/email/deploy')
-rw-r--r--app/email/deploy/email.hcl7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/email/deploy/email.hcl b/app/email/deploy/email.hcl
index 96f9015..c69f51c 100644
--- a/app/email/deploy/email.hcl
+++ b/app/email/deploy/email.hcl
@@ -259,8 +259,7 @@ job "email" {
command = "postfix"
args = [ "start-fg" ]
volumes = [
- "secrets/ssl/certs:/etc/ssl/certs",
- "secrets/ssl/private:/etc/ssl/private",
+ "secrets/ssl:/etc/ssl",
"secrets/postfix:/etc/postfix-conf",
"/dev/log:/dev/log"
]
@@ -382,13 +381,13 @@ job "email" {
# --- secrets ---
template {
data = "{{ key \"secrets/email/postfix/postfix.crt\" }}"
- destination = "secrets/ssl/certs/postfix.crt"
+ destination = "secrets/ssl/postfix.crt"
perms = "400"
}
template {
data = "{{ key \"secrets/email/postfix/postfix.key\" }}"
- destination = "secrets/ssl/private/postfix.key"
+ destination = "secrets/ssl/postfix.key"
perms = "400"
}
}