Backend for historical prisoner application.
The application comes with a dev
spring profile that includes default settings for running locally. This is not
necessary when deploying to kubernetes as these values are included in the helm configuration templates -
e.g. values-dev.yaml
.
There is also a docker-compose.yml
that can be used to run a local instance of the template in docker and also an
instance of HMPPS Auth (required if your service calls out to other services using a token).
docker compose pull && docker compose up
will build the application and run it and HMPPS Auth within a local docker instance.
docker compose pull && docker compose up --scale hmpps-historical-prisoner-api=0
will just start a docker instance of HMPPS Auth. The application should then be started with a dev
active profile
in Intellij.