Skip to content

Commit

Permalink
🚀 Add new deployment parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
sinaci committed Oct 21, 2024
1 parent d3b6dbd commit c305434
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/build.sh
Original file line number Diff line number Diff line change
@@ -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 .

5 changes: 5 additions & 0 deletions docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit c305434

Please sign in to comment.