container-server/mail/docker-compose.yml

25 lines
426 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
2019-12-04 22:00:35 +01:00
restart: "${RESTART:-no}"
2019-11-05 20:58:51 +01:00
hostname: mail.${BASE_DOMAIN}
ports:
- "25:25"
- "143:143"
- "993:993"
environment:
2019-11-10 15:22:28 +01:00
- MAILNAME=${BASE_DOMAIN}
2019-11-05 20:58:51 +01:00
- MAIL_ADDRESS=git
- MAIL_PASS=pass
volumes:
- /srv/mail:/var/mail
networks:
- mail