Make Roundcube configuration persistent

pull/1/head
Davide Polonio 2020-07-14 13:21:31 +00:00
parent d2b76d1b11
commit 14ac7ebdc3
1 changed files with 16 additions and 0 deletions

View File

@ -32,6 +32,8 @@ services:
env_file:
- .env
- env-roundcube
volumes:
- rb_db:/var/lib/postgresql/data/
networks:
- internal
@ -44,6 +46,8 @@ services:
env_file:
- .env
- env-roundcube
volumes:
- rb_config:/var/roundcube/config/
networks:
- proxy
- internal
@ -67,6 +71,18 @@ volumes:
type: none
o: bind
device: "/srv/docker/mail/logs"
rb_config:
driver: local
driver_opts:
type: none
o: bind
device: "/srv/docker/mail/roundcube-config"
rb_db:
driver: local
driver_opts:
type: none
o: bind
device: "/srv/docker/mail/roundcube-db"
nginx_cert:
driver: local
driver_opts: