diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-04 08:46:09 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-04 08:46:09 +0300 |
| commit | 8df89ce39d2acf5b23ee15241060bd9dd6551620 (patch) | |
| tree | 06eded98dc24022ce2e5ccfb43d07696427fb5fb /Dockerfile | |
| parent | 0d317dc0cfe6ae2b6b62d711b7ae67e63555235f (diff) | |
| download | classroom-8df89ce39d2acf5b23ee15241060bd9dd6551620.tar.gz classroom-8df89ce39d2acf5b23ee15241060bd9dd6551620.tar.bz2 classroom-8df89ce39d2acf5b23ee15241060bd9dd6551620.zip | |
database migrated; privileges table has an included(-privileges) field
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 # ------------------------------------------------------------------------------ |
