aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-04-04 14:13:57 +0200
committerAlex Auvolat <alex@adnab.me>2023-04-04 14:13:57 +0200
commitc9f122bcd38b0f7d775dbd197aac7dd192f0e653 (patch)
treef574ab1c7e5c399d3a808d35111475d2ed3e0a03
parentd83d230aeef0261bde13ea910b25bf4f667b147c (diff)
downloadnixcfg-c9f122bcd38b0f7d775dbd197aac7dd192f0e653.tar.gz
nixcfg-c9f122bcd38b0f7d775dbd197aac7dd192f0e653.zip
diplonat with ipv6 firewall support; email ipv6 addresses in dns
-rw-r--r--cluster/prod/app/core/deploy/core-system.hcl2
-rw-r--r--cluster/prod/app/email/deploy/email.hcl8
2 files changed, 5 insertions, 5 deletions
diff --git a/cluster/prod/app/core/deploy/core-system.hcl b/cluster/prod/app/core/deploy/core-system.hcl
index 6ece3d6..004a2ef 100644
--- a/cluster/prod/app/core/deploy/core-system.hcl
+++ b/cluster/prod/app/core/deploy/core-system.hcl
@@ -13,7 +13,7 @@ job "core" {
driver = "docker"
config {
- image = "lxpz/amd64_diplonat:4"
+ image = "lxpz/amd64_diplonat:5"
network_mode = "host"
readonly_rootfs = true
privileged = true
diff --git a/cluster/prod/app/email/deploy/email.hcl b/cluster/prod/app/email/deploy/email.hcl
index 9fb249a..f4539ae 100644
--- a/cluster/prod/app/email/deploy/email.hcl
+++ b/cluster/prod/app/email/deploy/email.hcl
@@ -63,7 +63,6 @@ job "email" {
port = "imap_port"
tags = [
"dovecot",
- "d53-a imap.deuxfleurs.fr",
]
check {
type = "tcp"
@@ -83,7 +82,9 @@ job "email" {
port = "imaps_port"
tags = [
"dovecot",
- "(diplonat (tcp_port 993))"
+ "(diplonat (tcp_port 993))",
+ "d53-a imap.deuxfleurs.fr",
+ "d53-aaaa imap.deuxfleurs.fr",
]
check {
@@ -283,8 +284,7 @@ job "email" {
"postfix",
"(diplonat (tcp_port 25 465 587))",
"d53-a smtp.deuxfleurs.fr",
- # ipv6 is commented for now as port is not open in firewall (TODO)
- # "d53-aaaa smtp.deuxfleurs.fr"
+ "d53-aaaa smtp.deuxfleurs.fr"
]
check {
type = "tcp"