So, here’s the skeleton of docker compose files: sync-legacy1.openmrs.org and sync-legacy2.openmrs.org
(note, some of those files are symlinked) If you want to do any changes, please create a pull request for me. It’s probably mostly fine.
Now you are responsible for creating the docker image.
I’d recommend you do the following:
- copy openmrs-distro.properties file to, let’s say, openmrs-legacy-distro.properties
- change distro.referenceapplication from 2.6.0 to 2.4 (oldest version supported by the SDK, core version 1.11.6) , and run
mvn openmrs-sdk:build-distro -Ddistro=openmrs-legacy-distro.properties
. You should be able to rundocker-compose up
and verify it has the right configuration. - change build Deploy sync legacy to use the new file
We might have the adjust the dbdump (maybe).