chore: upgrade docker-mailserver to latest version
parent
97d2f66c66
commit
bb1dca4cff
|
@ -1,17 +1,19 @@
|
|||
---
|
||||
version: '3.7'
|
||||
version: '3.9'
|
||||
services:
|
||||
mail:
|
||||
image: mailserver/docker-mailserver:11.3.1
|
||||
image: mailserver/docker-mailserver:12.1.0
|
||||
hostname: ${HOSTNAME}
|
||||
domainname: ${DOMAINNAME}
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 2m30s # Avoid data loss
|
||||
ports:
|
||||
- "25:25"
|
||||
- "143:143"
|
||||
- "587:587"
|
||||
- "993:993"
|
||||
# - "127.0.0.1:1134:1134" # Only useful once we enable RSPAMD
|
||||
volumes:
|
||||
- maildata:/var/mail
|
||||
- mailstate:/var/mail-state
|
||||
|
@ -26,10 +28,15 @@ services:
|
|||
- SYS_PTRACE
|
||||
networks:
|
||||
- internal
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
|
||||
roundcubedb:
|
||||
image: postgres:9.6-alpine
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
- env-roundcube
|
||||
|
@ -37,10 +44,15 @@ services:
|
|||
- rb_db:/var/lib/postgresql/data/
|
||||
networks:
|
||||
- internal
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "5m"
|
||||
max-file: "3"
|
||||
|
||||
roundcube:
|
||||
image: roundcube/roundcubemail:1.6.x-apache
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- mail
|
||||
- roundcubedb
|
||||
|
@ -52,6 +64,11 @@ services:
|
|||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
|
||||
volumes:
|
||||
maildata:
|
||||
|
|
Loading…
Reference in New Issue