Skip to content

Commit 543e165

Browse files
update
1 parent 0af593e commit 543e165

File tree

3 files changed

+29
-38
lines changed

3 files changed

+29
-38
lines changed

web/Modules/Email/docker-compose.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
services:
2+
mailserver:
3+
image: ghcr.io/docker-mailserver/docker-mailserver:latest
4+
container_name: mailserver
5+
# Provide the FQDN of your mail server here (Your DNS MX record should point to this value)
6+
hostname: mail.test.phyrepanel.com
7+
ports:
8+
- "25:25"
9+
- "587:587"
10+
- "465:465"
11+
volumes:
12+
- ./docker-data/dms/mail-data/:/var/mail/
13+
- ./docker-data/dms/mail-state/:/var/mail-state/
14+
- ./docker-data/dms/mail-logs/:/var/log/mail/
15+
- ./docker-data/dms/config/:/tmp/docker-mailserver/
16+
- /etc/localtime:/etc/localtime:ro
17+
environment:
18+
- ENABLE_FAIL2BAN=1
19+
# Using letsencrypt for SSL/TLS certificates:
20+
- SSL_TYPE=letsencrypt
21+
# Allow sending emails from other docker containers:
22+
# Beware creating an Open Relay: https://docker-mailserver.github.io/docker-mailserver/latest/config/environment/#permit_docker
23+
- PERMIT_DOCKER=network
24+
# You may want to enable this: https://docker-mailserver.github.io/docker-mailserver/latest/config/environment/#spoof_protection
25+
# See step 6 below, which demonstrates setup with enabled/disabled SPOOF_PROTECTION:
26+
- SPOOF_PROTECTION=0
27+
cap_add:
28+
- NET_ADMIN # For Fail2Ban to work
29+
restart: always

web/Modules/Email/ldap-compose.yaml

-38
This file was deleted.

0 commit comments

Comments
 (0)