knet-mailserver/docker-compose.yml
2025-12-27 03:19:12 +01:00

27 lines
No EOL
732 B
YAML

services:
poste:
image: analogic/poste.io:latest
container_name: poste
restart: unless-stopped
hostname: ${POSTE_HOSTNAME}
environment:
# Traefik handles TLS termination; keep poste in HTTP mode on an internal port
- HTTPS=OFF
- HTTP_PORT=8080
- HTTPS_PORT=8443
- TZ=${TZ:-Europe/Berlin}
- DISABLE_CLAMAV=${DISABLE_CLAMAV:-false}
- DISABLE_RSPAMD=${DISABLE_RSPAMD:-false}
ports:
- "25:25" # SMTP
- "465:465" # SMTPS
- "587:587" # Submission
- "110:110" # POP3
- "143:143" # IMAP
- "993:993" # IMAPS
- "995:995" # POP3S
- "4190:4190" # ManageSieve
volumes:
- poste-data:/data
volumes:
poste-data: