-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathapplication.properties
More file actions
32 lines (27 loc) · 1.4 KB
/
application.properties
File metadata and controls
32 lines (27 loc) · 1.4 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
server.port: 9000
management.server.port: 9001
management.server.address: 0.0.0.0
management.endpoints.web.exposure.include=health,info,mappings
# http://localhost:9001/actuator/health
management.endpoint.health.show-details=always
# http://localhost:9001/actuator/info
management.info.env.enabled=true
info.app.name=Sample RESTful Web Service with Spring Boot
info.app.description=Proof of Concept for a RESTful Web Service made with Spring Boot 4 targeting JDK 25
springdoc.api-docs.path=/docs
springdoc.swagger-ui.path=/swagger/index.html
# SQLite Database Configuration
# Uses environment variable STORAGE_PATH if set, otherwise defaults to local path
# Contains players table with dates stored as ISO-8601 TEXT
spring.datasource.url=jdbc:sqlite:${STORAGE_PATH:storage/players-sqlite3.db}
spring.datasource.driver-class-name=org.sqlite.JDBC
spring.jpa.database-platform=org.hibernate.community.dialect.SQLiteDialect
spring.jpa.hibernate.ddl-auto=validate
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
spring.jpa.show-sql=false
spring.jpa.properties.hibernate.format_sql=true
# Flyway Database Migration Configuration
# Flyway manages all schema creation and seed data via versioned SQL migrations.
# On first start, Flyway creates the database and runs V1 → V2 → V3 in order.
spring.flyway.enabled=true
spring.flyway.locations=classpath:db/migration