- Add default config in etc/mantisbt/config_inc.php.ref,
- Add ssmtp program and env variable to allow mail sending, - Add php xmlreader & xmlwriter module tu support "Import/Export issues" plugin, - Switch to docker_tools "mixed" volume mode.
This commit is contained in:
39
env.dist
39
env.dist
@@ -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.0"
|
||||
APPL_VERSION="1.0.1"
|
||||
APPL_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
||||
|
||||
|
||||
@@ -66,8 +66,8 @@ NETWORK_NAME=${HOST_NAME_PREFIX}
|
||||
NETWORK_IF_NAME=br-${APPL_NAME_SHORT}-${APPL_ENV}
|
||||
|
||||
DOCKER_TOOLS_DEBUG=FALSE
|
||||
#DOCKER_TOOLS_VOLUME=MIXED
|
||||
DOCKER_TOOLS_VOLUME=MERGED
|
||||
DOCKER_TOOLS_VOLUME=MIXED
|
||||
#DOCKER_TOOLS_VOLUME=MERGED
|
||||
DOCKER_TOOLS_EXEPTION_LIBS="postgres:pgsql"
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ DOCKER_TOOLS_EXEPTION_LIBS="postgres:pgsql"
|
||||
|
||||
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.4.0-mga9 - - 8085 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
|
||||
|
||||
|
||||
|
||||
@@ -96,14 +96,6 @@ DB_SERVER_NAME="MantisBT"
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Tools
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
TOOLS_RPC_ENABLED="FALSE"
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# WebApp
|
||||
#-------------------------------------------------------------------------------
|
||||
@@ -112,5 +104,26 @@ APACHE_DOC_ROOT=/var/www/html
|
||||
|
||||
WA_CROND_ENABLED="FALSE"
|
||||
|
||||
WA_LOG_HTTPD_INT="/var/log/httpd"
|
||||
WA_LOG_HTTPD_EXT="./var/log/httpd-webapp"
|
||||
WA_LOG_HTTPD_INT="/var/log/httpd"
|
||||
|
||||
WA_CONF_EXT=./etc/${APPL_NAME}
|
||||
WA_CONF_INT=${APACHE_DOC_ROOT}/${APPL_NAME}/config
|
||||
|
||||
docker_config_add ${WA_CONF_EXT}/config_inc.php ${WA_CONF_EXT}/config_inc.php.ref
|
||||
|
||||
SMTP_SERVER="mail.rx3.net"
|
||||
WINDOW_TITLE="MantisBT - Arena-SI"
|
||||
LOGO_IMG="images-local/arena-si.jpg"
|
||||
|
||||
if [[ "${APPL_ENV}" != "prd" ]]
|
||||
then
|
||||
APPL_URL="http://localhost:${WA_PORT_MAIN_EXT}/${APPL_NAME}/"
|
||||
else
|
||||
APPL_URL="https://arena-si.fr/tools/${APPL_NAME}/"
|
||||
fi
|
||||
|
||||
WA_IMG_EXT=./var/www/html/${APPL_NAME}/images-local
|
||||
WA_IMG_INT=${APACHE_DOC_ROOT}/${APPL_NAME}/images-local
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user