This repository is used to build RuleBased MatchMaker Docker images.
The following environment variables can be used to affect the container's behaviour:
-
NODE_ENV
- this should most likely be set toproduction
unless you would like to test more customized deployments -
RBMM_JAVA_HOST_ADDRESS
- this is the host address to RuleBased MatchMaker (Web service). By default this variable points torbmm-java:8080
.
8078 TCP
docker pull gpii/rbmm-nodejs
This example assumes that rbmm-java container is running and is accessible using a link connection:
docker run \
-d \
-p 8078:8078 \
--name="rbmm-nodejs" \
--link rbmm-java:rbmm-java \
-e NODE_ENV=production \
-e RBMM_JAVA_HOST_ADDRESS=rbmm-java:8080 \
gpii/rbmm-nodejs
git clone https://github.com/NickKaklanis/RuleBased_MatchMaker.git
docker build --rm=true -t <your name>/rbmm-nodejs:$(git --git-dir=RuleBased_MatchMaker/.git --work-tree=RuleBased_MatchMaker rev-parse --short HEAD) .