services: poste.io: image: analogic/poste.io:2.4.7@sha256:f1f990d17310b077960ca4c2194dcaf1cefdb5ca9b9aec5de26e189fed650ea7 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'