feat: add default location for database

removes the need to setup mandatory configuration
This commit is contained in:
Gauthier Roebroeck 2020-03-05 20:59:15 +08:00
parent 1ba9d2ee73
commit ce50403a86
2 changed files with 4 additions and 0 deletions

View file

@ -8,6 +8,8 @@ komga:
# libraries-scan-cron: "*/5 * * * * ?" #every 5 seconds
libraries-scan-cron: "-" #disable
spring:
datasource:
url: jdbc:h2:mem:testdb
jpa:
properties:
hibernate:

View file

@ -14,6 +14,8 @@ komga:
spring:
# cache:
# caffeine-spec: maximumSize=500,expireAfterWrite=300s
datasource:
url: jdbc:h2:~/.komga/database.h2
h2:
console:
enabled: true