mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
* remove volumes section * bind mounts + localtime
This commit is contained in:
parent
7293e3c9e8
commit
ea81aebf83
24
README.md
24
README.md
|
@ -197,9 +197,10 @@ services:
|
||||||
- "587:587"
|
- "587:587"
|
||||||
- "993:993"
|
- "993:993"
|
||||||
volumes:
|
volumes:
|
||||||
- maildata:/var/mail
|
- ./data/maildata:/var/mail
|
||||||
- mailstate:/var/mail-state
|
- ./data/mailstate:/var/mail-state
|
||||||
- maillogs:/var/log/mail
|
- ./data/maillogs:/var/log/mail
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./config/:/tmp/docker-mailserver/
|
- ./config/:/tmp/docker-mailserver/
|
||||||
environment:
|
environment:
|
||||||
- ENABLE_SPAMASSASSIN=1
|
- ENABLE_SPAMASSASSIN=1
|
||||||
|
@ -214,11 +215,6 @@ services:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
volumes:
|
|
||||||
maildata:
|
|
||||||
mailstate:
|
|
||||||
maillogs:
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### LDAP setup
|
#### LDAP setup
|
||||||
|
@ -238,9 +234,10 @@ services:
|
||||||
- "587:587"
|
- "587:587"
|
||||||
- "993:993"
|
- "993:993"
|
||||||
volumes:
|
volumes:
|
||||||
- maildata:/var/mail
|
- ./data/maildata:/var/mail
|
||||||
- mailstate:/var/mail-state
|
- ./data/mailstate:/var/mail-state
|
||||||
- maillogs:/var/log/mail
|
- ./data/maillogs:/var/log/mail
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./config/:/tmp/docker-mailserver/
|
- ./config/:/tmp/docker-mailserver/
|
||||||
environment:
|
environment:
|
||||||
- ENABLE_SPAMASSASSIN=1
|
- ENABLE_SPAMASSASSIN=1
|
||||||
|
@ -274,9 +271,4 @@ services:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
volumes:
|
|
||||||
maildata:
|
|
||||||
mailstate:
|
|
||||||
maillogs:
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -141,8 +141,10 @@ To enable LDAP over StartTLS (on port 389), you need to set the following enviro
|
||||||
- "993:993"
|
- "993:993"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- maildata:/var/mail
|
- ./data/maildata:/var/mail
|
||||||
- mailstate:/var/mail-state
|
- ./data/mailstate:/var/mail-state
|
||||||
|
- ./data/maillogs:/var/log/mail
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./config/:/tmp/docker-mailserver/
|
- ./config/:/tmp/docker-mailserver/
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
@ -184,12 +186,6 @@ To enable LDAP over StartTLS (on port 389), you need to set the following enviro
|
||||||
|
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
|
|
||||||
volumes:
|
|
||||||
maildata:
|
|
||||||
driver: local
|
|
||||||
mailstate:
|
|
||||||
driver: local
|
|
||||||
```
|
```
|
||||||
|
|
||||||
??? example "Kopano / Zarafa"
|
??? example "Kopano / Zarafa"
|
||||||
|
|
Loading…
Reference in a new issue