First commit - DAMP stack with Prestashop 8 packed - Wp not completed yet

This commit is contained in:
2024-02-22 14:42:48 +01:00
parent a67618887e
commit d818ef7dc4
29 changed files with 3810 additions and 2 deletions

25
conf/apache/Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
FROM httpd:2.4-alpine
ARG SERVER_NAMEZ
ENV SERVER_NAME=${SERVER_NAMEZ}
ENV TZ=Europe/Paris
ENV APP_ROOT=/var/www/
ENV DOCUMENT_ROOT=${APP_ROOT}/html/
ENV APACHE_LOG_DIR=/usr/local/apache2/logs/
ENV APACHE_RUN_USER=www-data
ENV APACHE_RUN_GROUP=www-data
RUN apk add --update --no-cache tzdata
WORKDIR ${APP_ROOT}
RUN mkdir -p ${APP_ROOT}
RUN mkdir -p ${DOCUMENT_ROOT}
RUN chown -R ${APACHE_RUN_USER}:${APACHE_RUN_GROUP} ${APP_ROOT}
RUN chown -R ${APACHE_RUN_USER}:${APACHE_RUN_GROUP} ${DOCUMENT_ROOT}
RUN ln -s ${APP_ROOT}/public_html/index.php ${DOCUMENT_ROOT}
COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf
COPY ./httpd-ssl.conf /usr/local/apache2/conf/extra/httpd-ssl.conf