summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-04 08:46:09 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-04 08:46:09 +0300
commit8df89ce39d2acf5b23ee15241060bd9dd6551620 (patch)
tree06eded98dc24022ce2e5ccfb43d07696427fb5fb /Dockerfile
parent0d317dc0cfe6ae2b6b62d711b7ae67e63555235f (diff)
downloadclassroom-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--Dockerfile13
1 files changed, 12 insertions, 1 deletions
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
# ------------------------------------------------------------------------------