Moved variables from docker-compose.yml back to env file

master
Ionut Filip 6 years ago
parent 9c56e4c1b6
commit ebaba8fb41

@ -19,9 +19,6 @@ services:
image: mailu/nginx:{{ version }}
restart: always
env_file: {{ env }}
environment:
- TLS_FLAVOR={{ tls_flavor }}
- ADMIN={{ admin_enabled or 'false' }}
ports:
{% for port in (80, 443, 25, 465, 587, 110, 995, 143, 993) %}
{% if bind4 %}

@ -35,7 +35,7 @@ HOSTNAMES={{ hostnames }}
POSTMASTER={{ postmaster }}
# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
#TLS_FLAVOR={{ tls_flavor }}
TLS_FLAVOR={{ tls_flavor }}
# Authentication rate limit (per source IP address)
{% if auth_ratelimit_pm > '0' and auth_ratelimit_ph > '0' %}
@ -50,7 +50,7 @@ DISABLE_STATISTICS={{ disable_statistics or 'False' }}
###################################
# Expose the admin interface (value: true, false)
#ADMIN={{ admin_enabled or 'false' }}
ADMIN={{ admin_enabled or 'false' }}
# Choose which webmail to run if any (values: roundcube, rainloop, none)
WEBMAIL={{ webmail_type }}

Loading…
Cancel
Save