mvn clean install
java -jar target/*-fat.jar
Containers for Okapi are built on the default folio docker image. Java options can be passed to Okapi at runtime using the JAVA_OPTIONS
environment variable. Arguments passed to the container will be passed to Okapi. For example, the command below sets the log_level option in the JAVA_OPTIONS
variable, and passes the dev
argument to start Okapi in development mode.
docker run -p 9130:9130 -e JAVA_OPTIONS="-Dloglevel=DEBUG" \
folioorg/okapi dev
More information on using the default base image is available in the folio-tools repository.