Added network if postgresql used

master
Ionut Filip 6 years ago
parent ec93217eeb
commit 92bdc6e0a3

@ -157,7 +157,7 @@ services:
- imap - imap
{% endif %} {% endif %}
{% if resolver_enabled %} {% if resolver_enabled or db_flavor == 'postgresql' %}
networks: networks:
default: default:
driver: bridge driver: bridge

@ -160,7 +160,7 @@ REAL_IP_FROM={{ real_ip_from }}
REJECT_UNLISTED_RECIPIENT={{ reject_unlisted_recipient }} REJECT_UNLISTED_RECIPIENT={{ reject_unlisted_recipient }}
################################### ###################################
# Advanced settings # Database settings
################################### ###################################
DB_FLAVOR={{ db_flavor }} DB_FLAVOR={{ db_flavor }}
{% if postgresql == 'external' %} {% if postgresql == 'external' %}

Loading…
Cancel
Save