From 6701107b793f9025e5b9197cfe93795d3d505846 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 19 Jan 2020 23:05:19 +0100 Subject: [PATCH] fix smtp condition --- templates/services/compose.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/services/compose.yml.j2 b/templates/services/compose.yml.j2 index 63b9c24..6f3969a 100644 --- a/templates/services/compose.yml.j2 +++ b/templates/services/compose.yml.j2 @@ -53,7 +53,6 @@ services: - BITWARDENRS_AUTHENTICATOR_DISABLE_TIME_DRIFT={{ bitwardenrs_authenticator_disable_time_drift }} {% if bitwardenrs_smtp_host is defined and bitwardenrs_smtp_host %} - BITWARDENRS_SMTP_HOST={{ bitwardenrs_smtp_host }} - {% endif %} - BITWARDENRS_SMTP_FROM={{ bitwardenrs_smtp_from }} - BITWARDENRS_SMTP_FROM_NAME={{ bitwardenrs_smtp_from_name }} - BITWARDENRS_SMTP_PORT={{ bitwardenrs_smtp_port }} @@ -64,6 +63,7 @@ services: {% endif %} - BITWARDENRS_SMTP_AUTH_MECHANISM={{ bitwardenrs_smtp_auth_mechanism }} - BITWARDENRS_SMTP_TIMEOUT={{ bitwardenrs_smtp_timeout }} + {% endif %} {% if bitwardenrs_memory_limit is defined %} mem_limit: {{ bitwardenrs_memory_limit }} {% endif %}