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