更新 Docker Mail Server

X 2025-04-14 15:32:45 +00:00
parent d1d104eac0
commit dbc9353a45

@ -44,6 +44,7 @@ services:
container_name: mailserver
# Provide the FQDN of your mail server here (Your DNS MX record should point to this value)
hostname: mail.xxx.xx
#邮箱域名
env_file: mailserver.env
# More information about the mail-server ports:
# https://docker-mailserver.github.io/docker-mailserver/latest/config/security/understanding-the-ports/
@ -59,7 +60,8 @@ services:
- ./docker-data/dms/mail-logs/:/var/log/mail/
- ./docker-data/dms/config/:/tmp/docker-mailserver/
- /etc/localtime:/etc/localtime:ro
- ./ssl/:/tmp/ssl:ro
- ./ssl/:/tmp/ssl/
#证书文件存放位置
restart: always
stop_grace_period: 1m
# Uncomment if using `ENABLE_FAIL2BAN=1`: