{"id":19269041,"url":"https://github.com/borgoat/docker-openmrs-ref-application","last_synced_at":"2026-05-17T19:03:22.383Z","repository":{"id":123368652,"uuid":"93731051","full_name":"borgoat/docker-openmrs-ref-application","owner":"borgoat","description":"The Reference Application is the default set of modules provided by OpenMRS, a Medical Record System","archived":false,"fork":false,"pushed_at":"2017-06-08T11:56:26.000Z","size":74141,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-05T12:42:22.625Z","etag":null,"topics":["docker","docker-compose","openmrs"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borgoat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-08T09:22:26.000Z","updated_at":"2021-04-06T16:48:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"79d96348-591f-4040-8e6b-45076747b440","html_url":"https://github.com/borgoat/docker-openmrs-ref-application","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgoat%2Fdocker-openmrs-ref-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgoat%2Fdocker-openmrs-ref-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgoat%2Fdocker-openmrs-ref-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borgoat%2Fdocker-openmrs-ref-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borgoat","download_url":"https://codeload.github.com/borgoat/docker-openmrs-ref-application/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240371761,"owners_count":19790888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","openmrs"],"created_at":"2024-11-09T20:18:14.589Z","updated_at":"2026-05-17T19:03:17.313Z","avatar_url":"https://github.com/borgoat.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenMRS Reference Application\n\nOpenMRS provides a base [Platform](https://github.com/giorgioazzinnaro/docker-openmrs-platform), and a reference implementation with default modules, which is the reference application.\n\n## Configuration\n\nThis runs on top of [tomcat:8-jre8-alpine](https://hub.docker.com/_/tomcat/).\n\nOpenMRS depends on [mysql:5.6](https://hub.docker.com/_/mysql/) as database.\n\n```\ndocker run --name openmrs-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:5.6\n```\n\nNow run one `giorgioazzinnaro/openmrs-platform` instance linking it to `openmrs-mysql` (keep your MySQL password in mind for first configuration) and expose port 8080.\n\n```\ndocker run --name openmrs-reference-application --link openmrs-mysql:mysql -it -p 8080:8080 giorgioazzinnaro/openmrs-reference-application:2.6.0\n```\n\nPoint your browser to [localhost:8080/openmrs](http://localhost:8080/openmrs), and select `Advanced` installation.  \nChange your database connection string to look like this:\n\n```\njdbc:mysql://mysql:3306/@DBNAME@?autoReconnect=true\u0026sessionVariables=default_storage_engine=InnoDB\u0026useUnicode=true\u0026characterEncoding=UTF-8\n```\n*note `localhost` was replaced with `mysql`*\n\nGo on selecting the database to be created:\n\n*Do you currently have an OpenMRS database installed that you would like to connect to?*: `No`  \n*username*: root  \n*password*: `$MYSQL_ROOT_PASSWORD` (*the password you selected for your MySQL container*)\n\nOn the next page, again enter `$MYSQL_ROOT_PASSWORD` so that the installer creates the new user.\n\nNow change all other settings as desired.\n\n**After configuration Tomcat will complain with some errors, this is because it should be restarted to load all the modules**\n\nKeep MySQL running, stop openmrs-reference-application and start it again.  \nPress `\u003cCtrl\u003e-C` in the shell where it was running, then:\n\n```\ndocker run --name openmrs-reference-application --link openmrs-mysql:mysql -it -p 8080:8080 giorgioazzinnaro/openmrs-reference-application:2.6.0\n```\n\n\n## docker-compose\n\nFor ease of use, a `docker-compose.yml` file is provided in the GitHub repo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborgoat%2Fdocker-openmrs-ref-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborgoat%2Fdocker-openmrs-ref-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborgoat%2Fdocker-openmrs-ref-application/lists"}