fix smtp condition
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-01-19 23:05:19 +01:00
parent 0584ba80c1
commit 6701107b79

View File

@ -53,7 +53,6 @@ services:
- BITWARDENRS_AUTHENTICATOR_DISABLE_TIME_DRIFT={{ bitwardenrs_authenticator_disable_time_drift }} - BITWARDENRS_AUTHENTICATOR_DISABLE_TIME_DRIFT={{ bitwardenrs_authenticator_disable_time_drift }}
{% if bitwardenrs_smtp_host is defined and bitwardenrs_smtp_host %} {% if bitwardenrs_smtp_host is defined and bitwardenrs_smtp_host %}
- BITWARDENRS_SMTP_HOST={{ bitwardenrs_smtp_host }} - BITWARDENRS_SMTP_HOST={{ bitwardenrs_smtp_host }}
{% endif %}
- BITWARDENRS_SMTP_FROM={{ bitwardenrs_smtp_from }} - BITWARDENRS_SMTP_FROM={{ bitwardenrs_smtp_from }}
- BITWARDENRS_SMTP_FROM_NAME={{ bitwardenrs_smtp_from_name }} - BITWARDENRS_SMTP_FROM_NAME={{ bitwardenrs_smtp_from_name }}
- BITWARDENRS_SMTP_PORT={{ bitwardenrs_smtp_port }} - BITWARDENRS_SMTP_PORT={{ bitwardenrs_smtp_port }}
@ -64,6 +63,7 @@ services:
{% endif %} {% endif %}
- BITWARDENRS_SMTP_AUTH_MECHANISM={{ bitwardenrs_smtp_auth_mechanism }} - BITWARDENRS_SMTP_AUTH_MECHANISM={{ bitwardenrs_smtp_auth_mechanism }}
- BITWARDENRS_SMTP_TIMEOUT={{ bitwardenrs_smtp_timeout }} - BITWARDENRS_SMTP_TIMEOUT={{ bitwardenrs_smtp_timeout }}
{% endif %}
{% if bitwardenrs_memory_limit is defined %} {% if bitwardenrs_memory_limit is defined %}
mem_limit: {{ bitwardenrs_memory_limit }} mem_limit: {{ bitwardenrs_memory_limit }}
{% endif %} {% endif %}