container-server/mail/docker-compose.yml

25 lines
419 B
YAML
Raw Normal View History

2019-11-05 20:58:51 +01:00
version: '3.7'
networks:
mail:
name: mail
services:
mail:
image: antespi/docker-imap-devel
container_name: mail-dev
restart: unless-stopped
hostname: mail.${BASE_DOMAIN}
ports:
- "25:25"
- "143:143"
- "993:993"
environment:
- MAILNAME=local.lan
- MAIL_ADDRESS=git
- MAIL_PASS=pass
volumes:
- /srv/mail:/var/mail
networks:
- mail