From aa71513bc72968464713200656532d6e47b77401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Sun, 4 Oct 2020 19:41:07 +0200 Subject: [PATCH] Update u_e-dovecot-vmail-volume.md --- docs/u_e-dovecot-vmail-volume.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/u_e-dovecot-vmail-volume.md b/docs/u_e-dovecot-vmail-volume.md index 80bdbcd7b..40a339843 100644 --- a/docs/u_e-dovecot-vmail-volume.md +++ b/docs/u_e-dovecot-vmail-volume.md @@ -1,12 +1,11 @@ -If you want to use another folder for the vmail-volume, you can create an `docker-compose.override.yml` file and add: +If you want to use another folder for the vmail-volume, you can create a `docker-compose.override.yml` file and add the following content: + ``` version: '2.1' -volumes: - vmail-vol-1: - driver_opts: - type: none - device: /data/mailcow/vmail - o: bind +services: + dovecot-mailcow: + volumes: + - /data/mailcow/vmail:/var/vmail ``` ### Moving an existing vmail folder: