Change how email is stored
This commit is contained in:
parent
7cede37e6d
commit
3563fb5994
1 changed files with 7 additions and 1 deletions
|
@ -28,6 +28,12 @@ job "email" {
|
||||||
task "server" {
|
task "server" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
|
constraint {
|
||||||
|
attribute = "${attr.unique.hostname}"
|
||||||
|
operator = "="
|
||||||
|
value = "digitale"
|
||||||
|
}
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "superboum/amd64_dovecot:v6"
|
image = "superboum/amd64_dovecot:v6"
|
||||||
readonly_rootfs = false
|
readonly_rootfs = false
|
||||||
|
@ -38,7 +44,7 @@ job "email" {
|
||||||
"secrets/ssl/certs:/etc/ssl/certs",
|
"secrets/ssl/certs:/etc/ssl/certs",
|
||||||
"secrets/ssl/private:/etc/ssl/private",
|
"secrets/ssl/private:/etc/ssl/private",
|
||||||
"secrets/conf/:/etc/dovecot/",
|
"secrets/conf/:/etc/dovecot/",
|
||||||
"/mnt/glusterfs/email/mail:/var/mail/",
|
"/mnt/ssd/mail:/var/mail/",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue