From 33349065b542be3137f0975c37e8384cc2654f5c Mon Sep 17 00:00:00 2001 From: Vilgot Fredenberg Date: Sat, 11 Apr 2020 14:34:50 +0200 Subject: [PATCH] Harden default configuration --- setup/flavors/compose/docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup/flavors/compose/docker-compose.yml b/setup/flavors/compose/docker-compose.yml index f8a428bd..3fbfb862 100644 --- a/setup/flavors/compose/docker-compose.yml +++ b/setup/flavors/compose/docker-compose.yml @@ -32,7 +32,7 @@ services: {% endfor %} volumes: - "{{ root }}/certs:/certs" - - "{{ root }}/overrides/nginx:/overrides" + - "{{ root }}/overrides/nginx:/overrides:ro" {% if resolver_enabled %} resolver: @@ -64,7 +64,7 @@ services: env_file: {{ env }} volumes: - "{{ root }}/mail:/mail" - - "{{ root }}/overrides:/overrides" + - "{{ root }}/overrides/dovecot:/overrides:ro" depends_on: - front @@ -74,7 +74,7 @@ services: env_file: {{ env }} volumes: - "{{ root }}/mailqueue:/queue" - - "{{ root }}/overrides:/overrides" + - "{{ root }}/overrides/postfix:/overrides:ro" depends_on: - front {% if resolver_enabled %} @@ -89,8 +89,8 @@ services: env_file: {{ env }} volumes: - "{{ root }}/filter:/var/lib/rspamd" - - "{{ root }}/dkim:/dkim" - - "{{ root }}/overrides/rspamd:/etc/rspamd/override.d" + - "{{ root }}/dkim:/dkim:ro" + - "{{ root }}/overrides/rspamd:/etc/rspamd/override.d:ro" depends_on: - front {% if resolver_enabled %}