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