Skip to content

Commit

Permalink
WIP testing
Browse files Browse the repository at this point in the history
  • Loading branch information
karmaking committed Jul 24, 2024
1 parent b46ad80 commit 37f1700
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ WORKDIR /
COPY target/obp-hola-app-*-SNAPSHOT.jar obp-hola.jar
COPY application.properties application.properties
EXPOSE 8087
ENTRYPOINT ["java","-jar","/obp-hola.jar"]
#ENTRYPOINT ["/entrypoint.sh"]
#ENTRYPOINT ["java","-jar","/obp-hola.jar"]
ENTRYPOINT ["/entrypoint.sh"]
4 changes: 2 additions & 2 deletions application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ obp.base_url=${OBP_BASE_URL}
endpoint.path.prefix=${ENDPOINT.PATH.PREFIX}

mtls.keyStore.path=/keystore/keystore.jks
mtls.keyStore.password=${KEY_STORE_PASSWD}
mtls.keyStore.password=${KEYSTORE_PASSWD}
mtls.keyStore.alias=${KEYSTORE_ALIAS}
mtls.trustStore.path=/truststore/truststore.jks
mtls.trustStore.password=${TRUST_STORE_PASSWD}
mtls.trustStore.password=${TRUSTSTORE_PASSWD}

display_standards=${DISPLAY_STANDARDS}
force_jws=${FORCE_JWS}
Expand Down
5 changes: 3 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
echo $KEYSTORE_BASE64 | base64 -d > /etc/ssl/certs/keystore.jks
echo $TRUSTSTORE_BASE64 | base64 -d > /etc/ssl/certs/truststore.jks
#echo $KEYSTORE_BASE64 | base64 -d > /etc/ssl/certs/keystore.jks
#echo $TRUSTSTORE_BASE64 | base64 -d > /etc/ssl/certs/truststore.jks
exec java -jar /obp-hola.jar
sleep 300

0 comments on commit 37f1700

Please sign in to comment.