Compare commits
No commits in common. "dad3793cca266b23c84b6eeb25ed7c72c51338bf" and "ed2775210d39599f523822e62e7dc3e4410caebd" have entirely different histories.
dad3793cca
...
ed2775210d
12
Dockerfile
12
Dockerfile
@ -22,26 +22,26 @@ ARG MANTISBT_VERSION=2.27.1
|
||||
#---------------------------------------------------------------------------------------------------
|
||||
ARG MANTISBT='#!/bin/bash \n\
|
||||
\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\
|
||||
chown -R apache:apache ${APACHE_DOC_ROOT} \n\
|
||||
chmod -R u-x,g-x,o-rwx,u+X,g+X ${APACHE_DOC_ROOT} \n\
|
||||
\n\
|
||||
if [[ "${MANTISBT_ADMIN}" == "DISABLED" ]] \n\
|
||||
then \n\
|
||||
chown root:root ${APACHE_DOC_ROOT}/mantisbt/admin \n\
|
||||
mv ${APACHE_DOC_ROOT}/mantisbt/admin ${APACHE_DOC_ROOT}/mantisbt/admin.disabled \n\
|
||||
chown -R root:root ${APACHE_DOC_ROOT}/mantisbt/admin \n\
|
||||
fi \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 \
|
||||
&& 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 \
|
||||
&& chown -R root:root /var/www \
|
||||
&& chmod -R 775 /var/www \
|
||||
&& echo -e "${MANTISBT}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/mantisbt \
|
||||
&& chmod a+x /etc/init.d/mantisbt \
|
||||
&& ln -s /etc/init.d/mantisbt /etc/rcD.d/S40mantisbt
|
||||
|
||||
|
@ -5,7 +5,7 @@ Welcome to Rx3-Docker/MantisBT docker image!
|
||||
This project aims to build a MantisBT docker image.
|
||||
|
||||
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.
|
||||
|
||||
Note:
|
||||
|
@ -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 ssmtp program and SMTP_SERVER env variable to allow mail sending,
|
||||
- Add php xmlreader & xmlwriter module tu support "Import/Export issues" plugin,
|
||||
- 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.
|
||||
- Switch to docker_tools "mixed" volume mode.
|
||||
|
||||
|
||||
|
||||
@ -17,4 +16,4 @@ Rx3-Docker/MantisBT V 1.0.0 - A. GIBERT - 2025/03/06
|
||||
------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- 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.
|
||||
|
6
env.dist
6
env.dist
@ -63,7 +63,7 @@ PORT_SV_INT=9001
|
||||
PORT_SV_OFFSET=1000
|
||||
|
||||
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_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 |
|
||||
#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+----------------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user