2021-03-21 08:09:50 +09: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-25 07:31:43 +09:00
|
|
|
- ./docker/mail/etc:/etc
|
|
|
|
- ./docker/mail/entrypoint.sh:/usr/bin/entrypoint.sh
|
2021-03-21 08:09:50 +09:00
|
|
|
- ./docker/mail/mail:/var/mail
|
|
|
|
- ./docker/mail/config:/etc/mail
|
2021-03-25 07:31:43 +09:00
|
|
|
- ./docker/mail/config/postfix:/etc/postfix
|
|
|
|
- ./docker/mail/config/dovecot:/etc/dovecot
|
2021-03-21 08:09:50 +09:00
|
|
|
# Certbot
|
|
|
|
- ./docker/certbot/www:/var/www/certbot
|
|
|
|
- ./docker/certbot/.files:/etc/letsencrypt
|
|
|
|
|
|
|
|
EOF
|