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