Local Test Deployment
Deployment of profile test-local-3nodes.
Last updated
Was this helpful?
Deployment of profile test-local-3nodes.
Last updated
Was this helpful?
This deployment profile comes with default pre-generated keys and default passwords. It is not meant to contain any real data nor be used in production. If you wish to do so, use instead the deployment profile.
This test profile deploys 3 MedCo nodes on a single machine for test purposes. It can be used either on your local machine, or any other machine to which you have access. The version of the docker images used are the latest released versions. This profile is for example used for the .
First step is to get the MedCo latest release and download the docker images. Adapt ${MEDCO_SETUP_DIR}
to where you wish to install MedCo.
The default configuration of the deployment is suitable if the stack is deployed on your local host, and if you do not need to modify the default passwords. To change the default passwords check out . For the other settings, check out the following example of modifying the file ${MEDCO_SETUP_DIR}/deployments/test-local-3nodes/.env
to reflect your configuration. For example:
MEDCO_NODE_HOST
should be the fully qualified domain name of the host, MEDCO_NODE_HTTP_SCHEME
should be http
or https
.
If you enable HTTPS, follow to set up the needed certificates.
Final step is to run the nodes, all three will run simultaneously:
Wait some time for the initialization of the containers to be done (up to the message: “i2b2-medco-srv… - Started x of y services (z services are lazy, passive or on-demand)”), this can take up to 10 minutes. For the subsequent runs, the startup will be faster. In order to stop the containers, hit Ctrl+C
in the active window.
Only needed if you are deploying somewhere else than your local host. Otherwise the default configuration will work fine.
Follow the instructions for to be able to login in Glowing Bear.
In order to test that the local test deployment of MedCo is working, access Glowing Bear in your web browser at http(s)://${MEDCO_NODE_HOST}
and use the default credentials specified in . If you are new to Glowing Bear you can watch the video. You can also use the to perform tests.
By default MedCo loads a specific test data, refer to for expected results to queries. To load a dataset, follow the guide . To load some additional test data by performing a simple data loading you can execute the following: