From 37f1700b537de758bb012409f16b3ea3f95dfe10 Mon Sep 17 00:00:00 2001 From: karmaking Date: Wed, 24 Jul 2024 12:26:07 +0200 Subject: [PATCH] WIP testing --- Dockerfile | 4 ++-- application.properties | 4 ++-- entrypoint.sh | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index c16fa81..76d065f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/application.properties b/application.properties index 859c22e..fa02fa2 100644 --- a/application.properties +++ b/application.properties @@ -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} diff --git a/entrypoint.sh b/entrypoint.sh index d2d3bce..e3ab939 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 \ No newline at end of file