certificates in env file

This commit is contained in:
temasky
2020-08-04 11:09:55 +00:00
parent e8335908c9
commit 087165c979
8 changed files with 320 additions and 22 deletions
+3 -22
View File
@@ -4,25 +4,6 @@ version: '3'
# - add `depends_on:`
# - add top-level `volumes:`
volumes:
mariadb:
driver: local
driver_opts:
type: none
o: bind
device: ./mariadb
cert_dir:
driver: local
driver_opts:
type: none
o: bind
device: ./cert_dir
mail_dir:
driver: local
driver_opts:
type: none
o: bind
device: ./mail_dir
services:
master_mariadb:
@@ -33,7 +14,7 @@ services:
ports:
- "3306:3306"
volumes:
- mariadb:/etc/mysql/conf.d/
- ./mariadb:/etc/mysql/conf.d/
ireddocker:
@@ -56,8 +37,8 @@ services:
- "587:587"
- "465:465"
volumes:
- cert_dir:/opt/iredmail/ssl
- mail_dir:/var/vmail/vmail1
- ./cert_dir:/opt/iredmail/ssl
- ./mail_dir:/var/vmail/vmail1
depends_on:
- master_mariadb