version: '3.9' services: poste: container_name: {{ customer }}-poste image: analogic/poste.io:latest restart: always labels: - "diun.enable=true" hostname: {{ domain_poste }} # network_mode: host volumes: - {{ customer }}-poste-data:/data - {{ customer }}-poste-backups:/tmp/backups ports: - "25:25" - "127.0.0.1:3003:80" - "127.0.0.1:3004:443" - "110:110" - "143:143" - "465:465" - "587:587" - "993:993" - "995:995" - "4190:4190" environment: TZ: Europe/Berlin HTTPS: ON DISABLE_CLAMAV: TRUE DISABLE_RSPAMD: TRUE DISABLE_ROUNDCUBE: TRUE VIRTUAL_HOST: {{ domain_poste }} networks: {{ customer }}-poste: ipv4_address: 172.20.11.2 networks: {{ customer }}-poste: ipam: driver: default config: - subnet: 172.20.11.0/28 gateway: 172.20.11.1 volumes: {{ customer }}-poste-data: {{ customer }}-poste-backups: