Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
- rename APP_CONFIG_DIR to APP_CONFIG_FILE as done in the Dockerfile
- change auth-server-url to be consistent among other repositories
  • Loading branch information
ewelinagr committed May 9, 2019
1 parent 9abf526 commit 54df5fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/sh
set -e

cat > "${APP_CONFIG_DIR}" <<EndOfMessage
cat > "${APP_CONFIG_FILE}" <<EndOfMessage
---
transmart:
server-url: ${TRANSMART_API_SERVER_URL}
api-version: v2
keycloak:
auth-server-url: ${KEYCLOAK_SERVER_URL}
auth-server-url: ${KEYCLOAK_SERVER_URL}/auth
realm: ${KEYCLOAK_REALM}
resource: ${KEYCLOAK_CLIENT_ID}
Expand All @@ -30,5 +30,5 @@ exec java -jar -server \
"-Dmail.mime.decodeparameters=true" \
"-Djava.security.egd=file:///dev/urandom" \
"-Dserver.port=${APP_PORT}" \
"-Dspring.config.location=/${APP_CONFIG_DIR}" \
"-Dspring.config.location=${APP_CONFIG_FILE}" \
"gb-backend-${GB_BACKEND_VERSION}.war"

0 comments on commit 54df5fe

Please sign in to comment.