mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 04:22:28 +02:00
feat: add default location for database
removes the need to setup mandatory configuration
This commit is contained in:
parent
1ba9d2ee73
commit
ce50403a86
2 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ komga:
|
||||||
# libraries-scan-cron: "*/5 * * * * ?" #every 5 seconds
|
# libraries-scan-cron: "*/5 * * * * ?" #every 5 seconds
|
||||||
libraries-scan-cron: "-" #disable
|
libraries-scan-cron: "-" #disable
|
||||||
spring:
|
spring:
|
||||||
|
datasource:
|
||||||
|
url: jdbc:h2:mem:testdb
|
||||||
jpa:
|
jpa:
|
||||||
properties:
|
properties:
|
||||||
hibernate:
|
hibernate:
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,8 @@ komga:
|
||||||
spring:
|
spring:
|
||||||
# cache:
|
# cache:
|
||||||
# caffeine-spec: maximumSize=500,expireAfterWrite=300s
|
# caffeine-spec: maximumSize=500,expireAfterWrite=300s
|
||||||
|
datasource:
|
||||||
|
url: jdbc:h2:~/.komga/database.h2
|
||||||
h2:
|
h2:
|
||||||
console:
|
console:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue