Harden default configuration

master
Vilgot Fredenberg 5 years ago
parent 3dc9287e4f
commit 33349065b5

@ -32,7 +32,7 @@ services:
{% endfor %} {% endfor %}
volumes: volumes:
- "{{ root }}/certs:/certs" - "{{ root }}/certs:/certs"
- "{{ root }}/overrides/nginx:/overrides" - "{{ root }}/overrides/nginx:/overrides:ro"
{% if resolver_enabled %} {% if resolver_enabled %}
resolver: resolver:
@ -64,7 +64,7 @@ services:
env_file: {{ env }} env_file: {{ env }}
volumes: volumes:
- "{{ root }}/mail:/mail" - "{{ root }}/mail:/mail"
- "{{ root }}/overrides:/overrides" - "{{ root }}/overrides/dovecot:/overrides:ro"
depends_on: depends_on:
- front - front
@ -74,7 +74,7 @@ services:
env_file: {{ env }} env_file: {{ env }}
volumes: volumes:
- "{{ root }}/mailqueue:/queue" - "{{ root }}/mailqueue:/queue"
- "{{ root }}/overrides:/overrides" - "{{ root }}/overrides/postfix:/overrides:ro"
depends_on: depends_on:
- front - front
{% if resolver_enabled %} {% if resolver_enabled %}
@ -89,8 +89,8 @@ services:
env_file: {{ env }} env_file: {{ env }}
volumes: volumes:
- "{{ root }}/filter:/var/lib/rspamd" - "{{ root }}/filter:/var/lib/rspamd"
- "{{ root }}/dkim:/dkim" - "{{ root }}/dkim:/dkim:ro"
- "{{ root }}/overrides/rspamd:/etc/rspamd/override.d" - "{{ root }}/overrides/rspamd:/etc/rspamd/override.d:ro"
depends_on: depends_on:
- front - front
{% if resolver_enabled %} {% if resolver_enabled %}

Loading…
Cancel
Save