2021-03-20 23:09:50 +00:00
|
|
|
#!/usr/bin/sh
|
|
|
|
|
|
|
|
cat <<EOF
|
|
|
|
mail:
|
|
|
|
build: docker/mail
|
|
|
|
env_file:
|
|
|
|
- ./docker/mail/mail.env
|
|
|
|
ports:
|
|
|
|
- 25:25
|
|
|
|
- 110:110
|
|
|
|
- 143:143
|
|
|
|
- 587:587
|
|
|
|
- 993:993
|
|
|
|
volumes:
|
2021-03-24 22:31:43 +00:00
|
|
|
- ./docker/mail/etc:/etc
|
|
|
|
- ./docker/mail/entrypoint.sh:/usr/bin/entrypoint.sh
|
2021-03-20 23:09:50 +00:00
|
|
|
- ./docker/mail/mail:/var/mail
|
|
|
|
- ./docker/mail/config:/etc/mail
|
2021-03-24 22:31:43 +00:00
|
|
|
- ./docker/mail/config/postfix:/etc/postfix
|
|
|
|
- ./docker/mail/config/dovecot:/etc/dovecot
|
2021-03-20 23:09:50 +00:00
|
|
|
# Certbot
|
|
|
|
- ./docker/certbot/www:/var/www/certbot
|
|
|
|
- ./docker/certbot/.files:/etc/letsencrypt
|
|
|
|
|
|
|
|
EOF
|