Compare commits

..

No commits in common. "dad3793cca266b23c84b6eeb25ed7c72c51338bf" and "ed2775210d39599f523822e62e7dc3e4410caebd" have entirely different histories.

4 changed files with 12 additions and 13 deletions

View File

@ -22,26 +22,26 @@ ARG MANTISBT_VERSION=2.27.1
#--------------------------------------------------------------------------------------------------- #---------------------------------------------------------------------------------------------------
ARG MANTISBT='#!/bin/bash \n\ ARG MANTISBT='#!/bin/bash \n\
\n\ \n\
chown -R apache:apache ${APACHE_DOC_ROOT} \n\ chown -R apache:apache ${APACHE_DOC_ROOT} \n\
chmod -R u-x,g-x,o-rwx,u+X,g+X ${APACHE_DOC_ROOT} \n\ chmod -R u-x,g-x,o-rwx,u+X,g+X ${APACHE_DOC_ROOT} \n\
\n\ \n\
if [[ "${MANTISBT_ADMIN}" == "DISABLED" ]] \n\ if [[ "${MANTISBT_ADMIN}" == "DISABLED" ]] \n\
then \n\ then \n\
chown root:root ${APACHE_DOC_ROOT}/mantisbt/admin \n\ chown -R root:root ${APACHE_DOC_ROOT}/mantisbt/admin \n\
mv ${APACHE_DOC_ROOT}/mantisbt/admin ${APACHE_DOC_ROOT}/mantisbt/admin.disabled \n\
fi \n\ fi \n\
\n\ \n\
sed -i -e "s%mailhub=mail%mailhub=${SMTP_SERVER}%" /etc/ssmtp/ssmtp.conf' sed -i -e "s%mailhub=mail%mailhub=${SMTP_SERVER}%" /etc/ssmtp/ssmtp.conf '
#--------------------------------------------------------------------------------------------------- #---------------------------------------------------------------------------------------------------
RUN urpmi.update -a \ RUN urpmi.update -a \
&& urpmi --force wget ssmtp php-xmlreader php-xmlwriter \ && urpmi --force wget ssmtp php-xmlreader php-xmlwriter \
&& wget -q -O - https://sourceforge.net/projects/mantisbt/files/mantis-stable/${MANTISBT_VERSION}/mantisbt-${MANTISBT_VERSION}.tar.gz/download | tar xzvf - -C /var/www/html \ && wget -q -O - https://sourceforge.net/projects/mantisbt/files/mantis-stable/${MANTISBT_VERSION}/mantisbt-${MANTISBT_VERSION}.tar.gz/download | tar xzvf - -C /var/www/html \
&& mv /var/www/html/mantisbt-${MANTISBT_VERSION} /var/www/html/mantisbt \ && mv /var/www/html/mantisbt-${MANTISBT_VERSION} /var/www/html/mantisbt \
&& chown -R root:root /var/www \ && chown -R root:root /var/www \
&& chmod -R 775 /var/www \ && chmod -R 775 /var/www \
&& echo -e "${MANTISBT}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/mantisbt \ && echo -e "${MANTISBT}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/mantisbt \
&& chmod a+x /etc/init.d/mantisbt \ && chmod a+x /etc/init.d/mantisbt \
&& ln -s /etc/init.d/mantisbt /etc/rcD.d/S40mantisbt && ln -s /etc/init.d/mantisbt /etc/rcD.d/S40mantisbt

View File

@ -5,7 +5,7 @@ Welcome to Rx3-Docker/MantisBT docker image!
This project aims to build a MantisBT docker image. This project aims to build a MantisBT docker image.
Features: Features:
- Curtently based on rx3-docker/php-apache:1.5.1-mga9 & rx3-docker/postgresql:1.1.1-mga9 images, - Curtently based on rx3-docker/php-apache:1.4.0-mga9 & rx3-docker/postgresql:1.1.0-mga9 images,
- Sync with MantisBT 2.27.1. - Sync with MantisBT 2.27.1.
Note: Note:

View File

@ -7,8 +7,7 @@ Rx3-Docker/MantisBT V 1.0.1 - A. GIBERT - 2025/03/08
- Add var/www/mantisbt/images-local volume allowing logo addition, - Add var/www/mantisbt/images-local volume allowing logo addition,
- Add ssmtp program and SMTP_SERVER env variable to allow mail sending, - Add ssmtp program and SMTP_SERVER env variable to allow mail sending,
- Add php xmlreader & xmlwriter module tu support "Import/Export issues" plugin, - Add php xmlreader & xmlwriter module tu support "Import/Export issues" plugin,
- Switch to docker_tools "mixed" volume mode, - Switch to docker_tools "mixed" volume mode.
- Now use rx3-docker/php-apache:1.5.1-mga9 & rx3-docker/postgresql:1.1.1-mga9 images.
@ -17,4 +16,4 @@ Rx3-Docker/MantisBT V 1.0.0 - A. GIBERT - 2025/03/06
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------
- Initial release, - Initial release,
- Use based on rx3-docker/php-apache:1.4.0-mga9 & rx3-docker/postgresql:1.1.0-mga9 images. - Use based on php-apache:1.4.0-mga9 & postgresql:1.1.0-mga9 images.

View File

@ -63,7 +63,7 @@ PORT_SV_INT=9001
PORT_SV_OFFSET=1000 PORT_SV_OFFSET=1000
NETWORK_NAME=${HOST_NAME_PREFIX} NETWORK_NAME=${HOST_NAME_PREFIX}
NETWORK_IF_NAME=br-${HOST_NAME_PREFIX} NETWORK_IF_NAME=br-${APPL_NAME_SHORT}-${APPL_ENV}
DOCKER_TOOLS_DEBUG=FALSE DOCKER_TOOLS_DEBUG=FALSE
DOCKER_TOOLS_VOLUME=MIXED DOCKER_TOOLS_VOLUME=MIXED
@ -77,9 +77,9 @@ DOCKER_TOOLS_EXEPTION_LIBS="postgres:pgsql"
# | Prefix | Name | URL Prefix | Name | Name Full | Version | URL Prefix | Name | Version | Name | Version | Ext | Int | Ext | Int | Name / Id | Name / Id | # | Prefix | Name | URL Prefix | Name | Name Full | Version | URL Prefix | Name | Version | Name | Version | Ext | Int | Ext | Int | Name / Id | Name / Id |
#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+----------------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+ #------------------+----------+--------------------------+--------------------+------------------+-------------------------------+----------------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
docker_service_add DB database ${ORG_URL_PREFIX} postgresql - 1.1.1-mga9 - - - postgres - - 5432 - - postgres postgres docker_service_add DB database ${ORG_URL_PREFIX} postgresql - 1.1.0-mga9 - - - postgres - - 5432 - - postgres postgres
docker_service_add WA webapp ${ORG_URL_PREFIX} mantisbt "Rx3-Docker/MantisBT" ${APPL_VERSION}-mga9 ${ORG_URL_PREFIX} php-apache 1.5.1-mga9 - - 8070 80 - - apache apache docker_service_add WA webapp ${ORG_URL_PREFIX} mantisbt "Rx3-Docker/MantisBT" ${APPL_VERSION}-mga9 ${ORG_URL_PREFIX} php-apache 1.4.0-mga9 - - 8070 80 - - apache apache