2020-11-24 05:17:31 +09:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
echo " mail:
|
|
|
|
build: docker/mail
|
|
|
|
env_file:
|
|
|
|
- ./docker/mail/mail.env
|
|
|
|
ports:
|
|
|
|
- 25:25
|
2020-11-29 09:41:07 +09:00
|
|
|
- 110:110
|
2020-11-24 05:17:31 +09:00
|
|
|
- 143:143
|
|
|
|
- 587:587
|
|
|
|
- 993:993
|
|
|
|
volumes:
|
|
|
|
- ./docker/mail/mail:/var/mail
|
|
|
|
- ./docker/mail/config:/etc/mail
|
|
|
|
# Certbot
|
|
|
|
- ./docker/certbot/www:/var/www/certbot
|
|
|
|
- ./docker/certbot/.files:/etc/letsencrypt\n" >> docker-compose.yaml
|