mail:
  build: ./dovecot
  ports:
   - "25:25"
   - "143:143"
   - "587:587"
  volumes_from:
   - mailbase
mailbase:
  build: ./mail-base

mail:
  build: ./dovecot
  ports:
   - "25:25"
   - "143:143"
   - "587:587"
  volumes_from:
   - mailbase
   - mailvol
mailvol:
  image: ubuntu:14.04
  volumes:
   - "/srv/vmail"
mailbase:
  build: ./mail-base

Add data-only container for data persistence
Add data-only container for data persistence
