-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (21 loc) · 938 Bytes
/
Copy pathDockerfile
File metadata and controls
22 lines (21 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM eclipse-temurin:21
COPY target/fapi-test-suite.jar /server/
ENV BASE_URL https://localhost:8443
ENV BASE_MTLS_URL https://localhost:8444
ENV MONGODB_HOST mongodb
ENV JAVA_EXTRA_ARGS=
EXPOSE 8080
ENTRYPOINT java \
-D"fintechlabs.base_url=${BASE_URL}" \
-D"fintechlabs.base_mtls_url=${BASE_MTLS_URL}" \
-D"spring.mongodb.uri=mongodb://${MONGODB_HOST}:27017/test_suite" \
${SIGNING_KEY:+-D"fintechlabs.signingKey=${SIGNING_KEY}"} \
${DEPRECATED_SIGNING_KEY:+-D"fintechlabs.deprecatedSigningKey=${DEPRECATED_SIGNING_KEY}"} \
${PRIVATE_LINK_SIGNING_KEY:+-D"fintechlabs.privateLinkSigningKey=${PRIVATE_LINK_SIGNING_KEY}"} \
-D"oidc.google.clientid=${OIDC_GOOGLE_CLIENTID}" \
-D"oidc.google.secret=${OIDC_GOOGLE_SECRET}" \
-D"oidc.gitlab.clientid=${OIDC_GITLAB_CLIENTID}" \
-D"oidc.gitlab.secret=${OIDC_GITLAB_SECRET}" \
$JAVA_EXTRA_ARGS \
-jar /server/fapi-test-suite.jar \
-Djdk.tls.maxHandshakeMessageSize=65536