2020-11-23 20:17:31 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
echo " mail:
|
|
|
|
build: docker/mail
|
|
|
|
env_file:
|
|
|
|
- ./docker/mail/mail.env
|
|
|
|
ports:
|
|
|
|
- 25:25
|
2020-11-29 00:41:07 +00:00
|
|
|
- 110:110
|
2020-11-23 20:17:31 +00: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
|