Skip to content

Instantly share code, notes, and snippets.

@ostermine
Created July 8, 2025 06:24
Show Gist options
  • Save ostermine/e1224cc4d7e9f6efef2ebe0dc76432cf to your computer and use it in GitHub Desktop.
Save ostermine/e1224cc4d7e9f6efef2ebe0dc76432cf to your computer and use it in GitHub Desktop.
poste.io in docker
services:
mailserver:
image: analogic/poste.io
container_name: mailserver
hostname: mail.penis.ru
environment:
- TZ=Europe/Moscow
# - HTTPS=OFF # (опционально, если хотите отключить HTTPS)
# Дополнительные опции для настройки:
# - HTTP_PORT=8080
# - HTTPS_PORT=4433
- DISABLE_CLAMAV=TRUE
- DISABLE_RSPAMD=TRUE
# - DISABLE_ROUNDCUBE=TRUE
# - ELASTICSEARCH=123.123.123.123:9200
ports:
- "25:25" # SMTP
- "80:80" # HTTP (можно изменить на кастомный порт)
- "110:110" # POP3
- "143:143" # IMAP
- "443:443" # HTTPS
- "465:465" # SMTPS
- "587:587" # MSA
- "993:993" # IMAPS
- "995:995" # POP3S
- "4190:4190" # Sieve
volumes:
- ./data:/data
network_mode: host
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment