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.yml39
1 files changed, 39 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..eb5b313
--- /dev/null
+++ b/app/src/main/resources/application.yml
@@ -0,0 +1,39 @@
+server:
+ port: 9001
+ 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: ${PORTALPREFS_DATABASE}
+ host: ${PORTALPREFS_HOST}
+ port: ${PORTALPREFS_PORT}
+ username: ${PORTALPREFS_USERNAME}
+ password: ${PORTALPREFS_PASSWORD}
+
+portal-prefs:
+ realm: ${KEYCLOAK_REALM}
+
+management:
+ endpoints:
+ web:
+ exposure:
+ include: "*"
+ info:
+ build:
+ enabled: true
+ env:
+ enabled: true
+ git:
+ enabled: true
+ java:
+ enabled: true