chore: upgrade docker-mailserver to latest version
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

pull/23/head
Davide Polonio 2023-05-24 11:35:16 +02:00
parent 97d2f66c66
commit bb1dca4cff
1 changed files with 22 additions and 5 deletions

View File

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