Add docker-compose.yml

This commit is contained in:
2025-12-02 15:15:57 +00:00
commit eb797d8837

19
docker-compose.yml Normal file
View File

@@ -0,0 +1,19 @@
services:
maddy:
container_name: maddy
image: foxcpp/maddy:latest
restart: unless-stopped
environment:
# Replace with your hostname and domain
- MADDY_HOSTNAME=mail.snetwork.uk
- MADDY_DOMAIN=mail.snetwork.uk
volumes:
- ./maddydata:/data
ports:
- "25:25" # SMTP
- "587:587" # Submission
- "143:143" # IMAP (insecure)
- "993:993" # IMAP (SSL)
volumes:
maddydata: