37 lines
874 B
YAML
37 lines
874 B
YAML
version: "3.9"
|
|
|
|
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:-UTC}
|
|
- 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
|
|
networks:
|
|
- poste-mail
|
|
volumes:
|
|
poste-data:
|
|
|
|
networks:
|
|
poste-mail:
|
|
driver: bridge
|
|
${TRAEFIK_NETWORK:-coolify-overlay}:
|
|
external: true
|