8 Commits

5 changed files with 62 additions and 14 deletions

View File

@@ -9,6 +9,7 @@ ARG IMG_NAME
ARG IMG_NAME_FULL
ARG IMG_VERSION
ARG IMG_MAINTAINER
ARG IMG_URL
LABEL org.rx3.${IMG_NAME}.name=${IMG_NAME_FULL}
LABEL org.rx3.${IMG_NAME}.version=${IMG_VERSION}
@@ -23,7 +24,9 @@ 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\
chmod -R a-x,a+X ${APACHE_DOC_ROOT} \n\
chmod o-rwx ${APACHE_DOC_ROOT} \n\
chmod -R o+rwX ${APACHE_DOC_ROOT}/mantisbt/config \n\
\n\
if [[ "${MANTISBT_ADMIN_ENABLED}" == "FALSE" ]] \n\
then \n\
@@ -36,7 +39,8 @@ sed -i -e "s%mailhub=mail%mailhub=${SMTP_SERVER}%" /etc/ssmtp/ssmtp.conf'
RUN urpmi.update -a \
RUN . /etc/profile.d/rx3.sh && isl_add ${IMG_URL} \
&& 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 \
&& mv /var/www/html/mantisbt-${MANTISBT_VERSION} /var/www/html/mantisbt \

View File

@@ -5,14 +5,9 @@ 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.6.2-mga9 & rx3-docker/postgresql:1.1.6-mga9 images,
- Sync with MantisBT 2.27.1.
Note:
The following SQL have to been executed on mantisdb with postgres user:
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO mantisbt;
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO mantisbt;
Enjoy it!

View File

@@ -1,3 +1,49 @@
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/MantisBT V 1.0.6 - A. GIBERT - 2025/02/16
------------------------------------------------------------------------------------------------------------------------------------
- Add ISL support,
- Use now rx3-docker/php-apache:1.6.2-mga9 & rx3-docker/postgresql:1.1.6-mga9 images,
- Rebuild for updates.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/MantisBT V 1.0.5 - A. GIBERT - 2025/12/02
------------------------------------------------------------------------------------------------------------------------------------
- Now use rx3-docker/php-apache:1.6.0-mga9 & rx3-docker/postgresql:1.1.5-mga9 images,
- Rebuild for updates.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/MantisBT V 1.0.4 - A. GIBERT - 2025/09/19
------------------------------------------------------------------------------------------------------------------------------------
- Now use rx3-docker/php-apache:1.5.4-mga9 & rx3-docker/postgresql:1.1.4-mga9 images,
- Rebuild for updates.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/MantisBT V 1.0.3 - A. GIBERT - 2025/03/21
------------------------------------------------------------------------------------------------------------------------------------
- Now use rx3-docker/php-apache:1.5.3-mga9 & rx3-docker/postgresql:1.1.3-mga9 images,
- Fix Version and clean-up variables in env.dist,
- Fix config file permission problem.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/MantisBT V 1.0.2 - A. GIBERT - 2025/03/10
------------------------------------------------------------------------------------------------------------------------------------
- Now use rx3-docker/postgresql:1.1.2-mga9 image.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/MantisBT V 1.0.1 - A. GIBERT - 2025/03/08
------------------------------------------------------------------------------------------------------------------------------------

View File

@@ -56,6 +56,7 @@ services:
IMG_NAME_FULL: ${WA_IMG_NAME_FULL}
IMG_VERSION: ${WA_IMG_VERSION}
IMG_MAINTAINER: ${APPL_MAINTAINER}
IMG_URL: ${WA_IMG_URL}
IMG_FROM_URL: ${WA_IMG_FROM_URL}
restart: unless-stopped
@@ -87,6 +88,7 @@ services:
networks:
- appl
# - internal
ports:
- "127.0.0.1:${WA_PORT_SV_EXT}:${WA_PORT_SV_INT}"
@@ -102,3 +104,7 @@ networks:
# config:
# - subnet: 10.2.33.0/24
# gateway: 10.2.33.254
# internal:
# name: mantisbt-squashtm-internal
# external: true

View File

@@ -20,7 +20,7 @@ APPL_NAME="mantisbt"
APPL_NAME_FULL="Mantis Bug Tracker"
APPL_NAME_SHORT="mantisbt"
APPL_ORG="rx3-docker"
APPL_VERSION="1.0.1"
APPL_VERSION="1.0.6"
APPL_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
@@ -34,9 +34,6 @@ APPL_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
#APPL_ENV="int"
APPL_ENV="dvp"
MUSIC_REPO="./opt/music"
VIDEO_REPO="./opt/video"
#-------------------------------------------------------------------------------
@@ -77,9 +74,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.6-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.2-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.6.2-mga9 - - 8070 80 - - apache apache