diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -4,7 +4,7 @@ FROM php:8.1-apache as builder ARG MODE="debug" -# mailhog configuration +# mailhog (fake mail) configuration # ------------------------------------------------------------------------------ # RUN apt-get update &&\ # apt-get install --no-install-recommends --assume-yes --quiet ca-certificates curl git &&\ @@ -16,6 +16,17 @@ ARG MODE="debug" # RUN echo 'sendmail_path = /usr/bin/mhsendmail --smtp-addr mailhog:1025' > /usr/local/etc/php/php.ini +# msmtp (real mail) configuration +# ------------------------------------------------------------------------------ +# RUN apt-get update && apt-get install -y msmtp && apt-get clean && rm -r /var/lib/apt/lists/* +# configure sendmail +# RUN { \ +# echo "php_admin_value[sendmail_path] = $(which msmtp) -ti "; \ +# } >> /usr/local/etc/php-fpm.d/www.conf + + + + # setup apache # ------------------------------------------------------------------------------ |
