mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
27 lines
684 B
YAML
27 lines
684 B
YAML
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:
|