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