-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.properties
More file actions
37 lines (31 loc) · 1.3 KB
/
application.properties
File metadata and controls
37 lines (31 loc) · 1.3 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
spring.profiles.active=auth-dev
spring.banner.location=classpath:banner.txt
server.servlet.context-path=/reacthookspring
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
# MySQL
spring.datasource.hikari.connection-timeout=10000
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.datasource.url=jdbc:mariadb://localhost:3306/reacthookspring?useLegacyDatetimeCode=false&serverTimezone=CET
spring.jpa.hibernate.naming.physical-strategy=de.starwit.persistence.config.DatabasePhysicalNamingStrategy
spring.datasource.username=reacthookspring
spring.datasource.password=reacthookspring
spring.data.rest.detection-strategy=annotated
# Flyway
spring.flyway.user=${spring.datasource.username}
spring.flyway.password=${spring.datasource.password}
spring.flyway.url=${spring.datasource.url}
spring.flyway.baselineOnMigrate=true
spring.flyway.locations=classpath:db/migration
spring.flyway.encoding=UTF-8
spring.flyway.placeholder-replacement=false
# OpenApi
springdoc.swagger-ui.csrf.enabled=true
# logging.level.org.springframework.security=DEBUG
# logging.level.org.springframework.web=DEBUG