fix(mailserver): : add extra_hosts to prevent IMAP connections from closing
This commit is contained in:
@@ -2,6 +2,8 @@ services:
|
||||
mailserver:
|
||||
image: analogic/poste.io:latest
|
||||
hostname: ${MAIL_HOSTNAME}
|
||||
extra_hosts:
|
||||
- "${MAIL_HOSTNAME}:127.0.0.1"
|
||||
restart: always
|
||||
ports:
|
||||
- "25:25"
|
||||
@@ -30,6 +32,8 @@ services:
|
||||
caddy:
|
||||
image: caddy:latest
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
|
||||
Reference in New Issue
Block a user