aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/resources/application.yml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/resources/application.yml')
-rw-r--r--app/src/main/resources/application.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/app/src/main/resources/application.yml b/app/src/main/resources/application.yml
new file mode 100644
index 0000000..3bfd624
--- /dev/null
+++ b/app/src/main/resources/application.yml
@@ -0,0 +1,40 @@
+server:
+ port: 9002
+ address: 0.0.0.0
+
+spring:
+ jackson:
+ serialization:
+ # needed for serializing objects of type object
+ FAIL_ON_EMPTY_BEANS: false
+ security:
+ oauth2:
+ resourceserver:
+ jwt:
+ jwk-set-uri: ${KEYCLOAK_URL}/auth/realms/${KEYCLOAK_REALM}/protocol/openid-connect/certs #Keycloak Endpoint
+ data:
+ mongodb:
+ database: ${PORTALHISTORY_DATABASE}
+ host: ${PORTALHISTORY_HOST}
+ port: ${PORTALHISTORY_PORT}
+ username: ${PORTALHISTORY_USERNAME}
+ password: ${PORTALHISTORY_PASSWORD}
+
+portal-history:
+ save-interval: 72
+ delete-interval: 0 0 * * * *
+
+management:
+ endpoints:
+ web:
+ exposure:
+ include: "*"
+ info:
+ build:
+ enabled: true
+ env:
+ enabled: true
+ git:
+ enabled: true
+ java:
+ enabled: true