Make a proper conf mount for Mifos X
This commit is contained in:
parent
0f2546631a
commit
2e8e6a9e69
@ -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
|
envsubst <${SOURCE_DIR}/schemapwd.sql | docker exec -i mariadb mysql mifosplatform-tenants
|
||||||
|
|
||||||
# Configure Mifos X
|
# Configure Mifos X
|
||||||
mkdir /srv/mifosx
|
mkdir -p /srv/mifosx/conf
|
||||||
envsubst <${SOURCE_DIR}/srv/mifosx/context.xml >/srv/mifosx/context.xml
|
envsubst <${SOURCE_DIR}/srv/mifosx/conf/context.xml >/srv/mifosx/conf/context.xml
|
||||||
|
|
||||||
# Create Mifos X service
|
# Create Mifos X service
|
||||||
cp ${SOURCE_DIR}/etc/init.d/mifosx /etc/init.d/mifosx
|
cp ${SOURCE_DIR}/etc/init.d/mifosx /etc/init.d/mifosx
|
||||||
|
@ -14,7 +14,7 @@ start() {
|
|||||||
-h mifosx \
|
-h mifosx \
|
||||||
--link mariadb \
|
--link mariadb \
|
||||||
-p 127.0.0.1:9012:8012 \
|
-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
|
mifosx
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user