-
Notifications
You must be signed in to change notification settings - Fork 5
/
application.yaml
51 lines (47 loc) · 1.12 KB
/
application.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
spring:
application:
name: com.joshgav.apiserver.Application
flyway.enabled: false
jpa:
database-platform: org.hibernate.dialect.PostgreSQLDialect
hibernate:
ddl-auto: update
datasource:
initialization-mode: never
username: apiserver
url: jdbc:postgresql://localhost:5432/postgres
# url: jdbc:postgresql://localhost:5432/apiserverdb
server:
servlet:
port: 8080
management:
server.port: 9090
health.defaults: enabled
endpoint:
health:
enabled: true
probes:
enabled: true
show-details: always
show-components: always
info.enabled: true
endpoints.web.exposure.include: "info,health,configprops,env,metrics,prometheus"
springdoc:
api-docs.enabled: true
swagger-ui.enabled: true
packagesToScan: com.joshgav.apiserver.controller
# keycloak:
# resource: spring-apiserver
# ssl-required: all
# realm: app
# principal-attribute: preferred_username
# auth-server-url: TBD
# credentials:
# secret: TBD
# # security-constraints:
# # - authRoles:
# # - spring
# # - user
# # securityCollections:
# # - patterns:
# # - '/*'