From d12b797ebe9089cafb3b06348d5b107bcec09c77 Mon Sep 17 00:00:00 2001 From: Milen Mihalev Date: Fri, 9 Jan 2026 15:38:59 +0200 Subject: [PATCH] Use environment variables for SMTP port configuration --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e1f136c..36fc6f8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -202,8 +202,8 @@ services: ports: # SMTP ports (for email relay) - - "465:465" # SMTPS (implicit TLS) - - "587:587" # SMTP Submission (STARTTLS) + - "${PORT_SECURE:-465}:465" # SMTPS (implicit TLS) + - "${PORT_SUBMISSION:-587}:587" # SMTP Submission (STARTTLS) # Optional: Expose individual service ports for debugging # - "8080:8080" # API # - "3000:3000" # Web