Skip to content

Commit

Permalink
Improve docker documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rkorytkowski authored Jul 20, 2023
1 parent 75a1218 commit fb8a362
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,28 @@ The production version can be run with:
```bash
docker-compose -f docker-compose.yml up
```
If you want to debug, you need to run a development version and connect your debugger to port 8000, which is exposed by default.

Unfortunately, at this point any code changes require full restart and rebuild of the docker container. To speed up the process,
please use:
```bash
docker-compose build --build-arg MVN_ARGS='install -DskipTests'
docker-compose up
```
We are working towards providing support for Spring Boot auto-reload feature, which will be documented here once ready.

It is also possible to deploy an image built by our CI, which is published at
https://hub.docker.com/r/openmrs/openmrs-core

You can run any tag available with:
```bash
TAG=nightly docker-compose -f docker-compose.yml up
```
It is also possible to run a development version of an image with:
```bash
TAG=dev docker-compose up
```
All development versions contain dev suffix. The cache suffix is for use by our CI.

## Navigating the repository

Expand Down

0 comments on commit fb8a362

Please sign in to comment.