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