Skip to content

armgit / posta

Public Imported from GitHub
0

Self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analytics. Fully self-hostable alternative to services like SendGrid or Mailgun.

docs(examples): add Miabi deployments, move compose files to compose/

Jonas Kaninda583dc49205d2
diff --git a/examples/miabi/posta-replicated.yaml b/examples/miabi/posta-replicated.yaml
index 371fd1a..1231ed6 100644
--- a/examples/miabi/posta-replicated.yaml
+++ b/examples/miabi/posta-replicated.yaml
@@ -146,7 +146,9 @@ spec:
POSTA_ADMIN_EMAIL: [email protected]
POSTA_ADMIN_PASSWORD: "{{ .secrets.posta-admin-password }}"
- POSTA_TRUSTED_PROXIES: "10.0.0.0/8,172.16.0.0/12"
+ # Default miabi-proxy subnet (the gateway network); use your
+ # MIABI_SUBNET if the install set one.
+ POSTA_TRUSTED_PROXIES: "10.63.0.0/16"
POSTA_EMBEDDED_WORKER: "false"
POSTA_METRICS_ENABLED: "true"
diff --git a/examples/miabi/posta.yaml b/examples/miabi/posta.yaml
index 76eb231..1c03c1d 100644
--- a/examples/miabi/posta.yaml
+++ b/examples/miabi/posta.yaml
@@ -112,8 +112,10 @@ spec:
# Requests arrive through the Miabi gateway; trust its forwarded
# client IP so rate limits and audit logs see the real address.
- # Narrow this to your workspace network if you know its subnet.
- POSTA_TRUSTED_PROXIES: "10.0.0.0/8,172.16.0.0/12"
+ # 10.63.0.0/16 is the default subnet of miabi-proxy, the network the
+ # gateway shares with routed apps. Use your MIABI_SUBNET if the
+ # install set one (see /etc/miabi/miabi.yaml, networking.proxy).
+ POSTA_TRUSTED_PROXIES: "10.63.0.0/16"
POSTA_EMBEDDED_WORKER: "true"
POSTA_WORKER_CONCURRENCY: "10"