services: poste.io: image: analogic/poste.io:2.3.21@sha256:5d56570028bf710efdb9df2945491fdd6271abadb2856039bbe30ff90f9af6d3 container_name: posteio tty: true network_mode: host restart: unless-stopped # despite it being in network: host mode, I like seeing the ports here. ports: - '25:25' - '80:80' - '443:443' - '110:110' - '143:143' - '465:465' - '587:587' - '993:993' - '995:995' environment: - TZ=UTC - DISABLE_CLAMAV=TRUE volumes: - '/opt/poste.io/data:/data'