Make a proper conf mount for Mifos X

This commit is contained in:
Disassembler 2018-01-27 14:25:41 +01:00
parent 0f2546631a
commit 2e8e6a9e69
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
3 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,8 @@ docker run --rm mifosx cat /tmp/mifospltaform-tenants-first-time-install.sql | d
envsubst <${SOURCE_DIR}/schemapwd.sql | docker exec -i mariadb mysql mifosplatform-tenants
# Configure Mifos X
mkdir /srv/mifosx
envsubst <${SOURCE_DIR}/srv/mifosx/context.xml >/srv/mifosx/context.xml
mkdir -p /srv/mifosx/conf
envsubst <${SOURCE_DIR}/srv/mifosx/conf/context.xml >/srv/mifosx/conf/context.xml
# Create Mifos X service
cp ${SOURCE_DIR}/etc/init.d/mifosx /etc/init.d/mifosx

View File

@ -14,7 +14,7 @@ start() {
-h mifosx \
--link mariadb \
-p 127.0.0.1:9012:8012 \
-v /srv/mifosx/context.xml:/srv/tomcat/webapps/fineract-provider/META-INF/context.xml \
-v /srv/mifosx/conf/context.xml:/srv/tomcat/webapps/fineract-provider/META-INF/context.xml \
mifosx
}