Skip to content

Releases: LTHTR-DST/medcat_trainer_helm

v0.0.1

28 Mar 09:39
Compare
Choose a tag to compare
v0.0.1 Pre-release
Pre-release

A working alpha version of a Helm chart to deploy https://github.com/CogStack/MedCATtrainer/ on Azure Kubernetes Service. This has only been tested on Azure at the moment.

This converts the docker-compose.yml file in the repo above to a Helm chart and requires modification of the nginx container that serves static files as below. The Helm chart also assumes that Azure file shares have already been created as specified in `values.yaml'.

The Helm chart uses the default solr:8 image and slightly modified medcattrainer and nginx images as below.

medcattrainer: Modified as described in CogStack/MedCATtrainer#127

nginx: Rebuild the nginx static files image after removing the following lines from sites-enabled.

location /api/concepts/ {
        proxy_pass http://mct_solr:8983/solr/;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }

    location / {
        proxy_pass http://medcattrainer:8000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }

As of this release, most things work - including creating a new project, annotating text, indexing the default CDB in Solr, searching and assigning alternate CUIs.