services: poste: image: ${POSTE_IMAGE:-analogic/poste.io:latest} restart: ${POSTE_RESTART:-unless-stopped} volumes: - ${VOL_PATH:-/data}/poste:/data environment: - HTTPS=ON - PUBLIC_HOSTNAME=${POSTE_HOSTNAME:-mail.yourdomain.com} - TZ=${TZ:-America/Vancouver} ports: - "${POSTE_SMTP_PORT:-25}:25" - "${POSTE_POP3_PORT:-110}:110" - "${POSTE_IMAP_PORT:-143}:143" - "${POSTE_SUBMISSION_PORT:-587}:587" - "${POSTE_IMAPS_PORT:-993}:993" - "${POSTE_POP3S_PORT:-995}:995" - "${POSTE_SIEVE_PORT:-4190}:4190" networks: - proxy - internal networks: proxy: external: true internal: