-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0af593e
commit 543e165
Showing
3 changed files
with
29 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
services: | ||
mailserver: | ||
image: ghcr.io/docker-mailserver/docker-mailserver:latest | ||
container_name: mailserver | ||
# Provide the FQDN of your mail server here (Your DNS MX record should point to this value) | ||
hostname: mail.test.phyrepanel.com | ||
ports: | ||
- "25:25" | ||
- "587:587" | ||
- "465:465" | ||
volumes: | ||
- ./docker-data/dms/mail-data/:/var/mail/ | ||
- ./docker-data/dms/mail-state/:/var/mail-state/ | ||
- ./docker-data/dms/mail-logs/:/var/log/mail/ | ||
- ./docker-data/dms/config/:/tmp/docker-mailserver/ | ||
- /etc/localtime:/etc/localtime:ro | ||
environment: | ||
- ENABLE_FAIL2BAN=1 | ||
# Using letsencrypt for SSL/TLS certificates: | ||
- SSL_TYPE=letsencrypt | ||
# Allow sending emails from other docker containers: | ||
# Beware creating an Open Relay: https://docker-mailserver.github.io/docker-mailserver/latest/config/environment/#permit_docker | ||
- PERMIT_DOCKER=network | ||
# You may want to enable this: https://docker-mailserver.github.io/docker-mailserver/latest/config/environment/#spoof_protection | ||
# See step 6 below, which demonstrates setup with enabled/disabled SPOOF_PROTECTION: | ||
- SPOOF_PROTECTION=0 | ||
cap_add: | ||
- NET_ADMIN # For Fail2Ban to work | ||
restart: always |
This file was deleted.
Oops, something went wrong.
File renamed without changes.