-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproperties.ftl
More file actions
executable file
·44 lines (37 loc) · 1.78 KB
/
properties.ftl
File metadata and controls
executable file
·44 lines (37 loc) · 1.78 KB
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
spring.profiles.active=@spring.profiles.active@
spring.banner.location=classpath:banner.txt
server.servlet.context-path=/${app.baseName?lower_case}
rest.base-path=/api
server.port=8081
# actuator
management.endpoints.web.base-path=/monitoring
management.endpoint.health.show-details=always
management.endpoints.web.exposure.include=*
# show full git properties
management.info.git.mode=full
# Postgres
spring.datasource.hikari.connection-timeout=10000
#spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://localhost:5433/${app.baseName?lower_case}?useLegacyDatetimeCode=false&serverTimezone=CET
spring.jpa.hibernate.naming.physical-strategy=de.${app.packageName?lower_case}.persistence.config.DatabasePhysicalNamingStrategy
spring.datasource.username=${app.baseName?lower_case}
spring.datasource.password=${app.baseName?lower_case}
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.data.rest.detection-strategy=annotated
#spring.jpa.hibernate.ddl-auto=create
# Flyway
spring.flyway.user=${r"${spring.datasource.username}"}
spring.flyway.password=${r"${spring.datasource.password}"}
spring.flyway.url=${r"${spring.datasource.url}"}
spring.flyway.baseline-on-migrate=true
spring.flyway.locations=classpath:db/migration
spring.flyway.encoding=UTF-8
spring.flyway.placeholder-replacement=false
# Authentication
starwit.authentication.uri=http://localhost:8080/auth/realms/${app.baseName?lower_case}
spring.security.oauth2.resourceserver.jwt.issuer-uri=${starwit.authentication.uri}
spring.security.oauth2.resourceserver.jwt.jwk-set-uri=${starwit.authentication.uri}/protocol/openid-connect/certs
# OpenApi
springdoc.swagger-ui.csrf.enabled=true
# logging.level.org.springframework.security=DEBUG
# logging.level.org.springframework.web=DEBUG