diff --git a/docker/build.sh b/docker/build.sh index a1911a34..68a15495 100644 --- a/docker/build.sh +++ b/docker/build.sh @@ -1,9 +1,14 @@ # Execute one of the following commands from the project.root.directory (../) +#Linux addJar docker build -f docker/Dockerfile-addJar --build-arg FHIR_VERSION=r4 -t srdc/onfhir:r4 . docker build -f docker/Dockerfile-addJar --build-arg FHIR_VERSION=r5 -t srdc/onfhir:r5 . + +#Windows addJar docker build -f docker\Dockerfile-addJar --build-arg FHIR_VERSION=r4 -t srdc/onfhir:r4 . +docker build -f docker\Dockerfile-addJar --build-arg FHIR_VERSION=r5 -t srdc/onfhir:r5 . +# buildJar docker build -f docker/Dockerfile-buildJar --build-arg FHIR_VERSION=r4 -t srdc/onfhir:r4 . docker build -f docker\Dockerfile-buildJar --build-arg FHIR_VERSION=r4 -t srdc/onfhir:r4 . diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index b39cacc5..60fa41b8 100644 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -67,6 +67,11 @@ if [ ! -z "$AUDIT_SERVER_ROOT_URL" ]; then JAVA_CMD+="-Dfhir.auditing.is-secure=true " fi +#Configure +if [ ! -z "$FAILED_REQUEST_LOGGING" ]; then + JAVA_CMD+="-Dfhir.failed-request-logging=$FAILED_REQUEST_LOGGING " +fi + # Configure Authz Server URL if [ ! -z "$AUTHZ_SERVER_ROOT_URL" ]; then JAVA_CMD+="-Dfhir.authorization.authz-server-url=$AUTHZ_SERVER_ROOT_URL "