- Add /var/log/init, /var/log/supervisor & var/log/httpd volumes.

This commit is contained in:
2024-11-11 23:41:36 +01:00
parent 4797d18971
commit 2de510e467
7 changed files with 37 additions and 8 deletions

View File

@@ -15,6 +15,10 @@ LABEL org.rx3.${IMG_NAME}.version=${IMG_VERSION}
LABEL org.rx3.${IMG_NAME}.maintainer=${IMG_MAINTAINER}
LABEL maintainer=${IMG_MAINTAINER}
ARG APACHE_DOC_ROOT
ARG APACHE_LOG_DIR
ARG APACHE_PORT
#---------------------------------------------------------------------------------------------------
@@ -69,6 +73,7 @@ RUN urpmi --force apache apache-mod_php php-cli php-pgsql php-mysqli php-pdo_
&& sed -i -e "s/post_max_size = 8M/post_max_size = 32M/" /etc/php.d/01_datahandling.ini
VOLUME /var/www/html
VOLUME ${APACHE_DOC_ROOT}
VOLUME ${APACHE_LOG_DIR}
EXPOSE ${APACHE_PORT}