initial commit

This commit is contained in:
2026-03-23 02:53:33 +08:00
commit abd415fff0
5 changed files with 242 additions and 0 deletions

31
docker-compose.yml Normal file
View File

@@ -0,0 +1,31 @@
services:
mailserver:
image: analogic/poste.io:latest
hostname: ${MAIL_HOSTNAME}
restart: always
ports:
- "25:25"
- "80:80"
- "443:443"
- "110:110"
- "143:143"
- "465:465"
- "587:587"
- "993:993"
- "995:995"
environment:
- TZ=${TZ}
- DISABLE_CLAMAV=${DISABLE_CLAMAV}
- DISABLE_RSPAMD=${DISABLE_RSPAMD}
- DISABLE_ROUNDCUBE=${DISABLE_ROUNDCUBE}
- HTTPS=${HTTPS}
- ${SSL_CERT_PATH}:/data/ssl/server.crt:ro
- ${SSL_KEY_PATH}:/data/ssl/server.key:ro
volumes:
- ./data:/data
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"