docker-compose.fragment.sh 663 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/sh
  2. cat <<EOF
  3. mail:
  4. build: docker/mail
  5. env_file:
  6. - ./docker/mail/mail.env
  7. ports:
  8. - 25:25
  9. - 110:110
  10. - 143:143
  11. - 587:587
  12. - 993:993
  13. volumes:
  14. - ./docker/mail/etc:/etc
  15. - ./docker/mail/entrypoint.sh:/usr/bin/entrypoint.sh
  16. - ./docker/mail/mail:/var/mail
  17. - ./docker/mail/config:/etc/mail
  18. - ./docker/mail/config/postfix:/etc/postfix
  19. - ./docker/mail/config/dovecot:/etc/dovecot
  20. # Certbot
  21. - ./docker/certbot/www:/var/www/certbot
  22. - ./docker/certbot/.files:/etc/letsencrypt
  23. EOF