From 8df89ce39d2acf5b23ee15241060bd9dd6551620 Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Tue, 4 Apr 2023 08:46:09 +0300 Subject: database migrated; privileges table has an included(-privileges) field --- Dockerfile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 85e4a32..6f2689d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 # ------------------------------------------------------------------------------ -- cgit v1.2.3