Configurable filesystem paths

This commit is contained in:
2025-12-11 02:09:50 +01:00
parent f21fb1cd13
commit 1ffcec1029
4 changed files with 44 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ spring:
thymeleaf:
cache: false
datasource:
url: jdbc:sqlite:imgfloat.db?busy_timeout=5000&journal_mode=WAL
url: jdbc:sqlite:${IMGFLOAT_DB_PATH:imgfloat.db}?busy_timeout=5000&journal_mode=WAL
driver-class-name: org.sqlite.JDBC
hikari:
connection-init-sql: "PRAGMA journal_mode=WAL; PRAGMA busy_timeout=5000;"