1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/komga_ynh.git synced 2024-09-03 19:36:07 +02:00
komga_ynh/conf/application.yml

27 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2021-02-28 21:21:15 +01:00
komga:
libraries-scan-cron: "* */15 * * * ?" #periodic scan every 15 minutes
libraries-scan-cron: "-" #disable periodic scan
libraries-scan-startup: false #scan libraries at startup
libraries-scan-directory-exclusions: #patterns to exclude directories from the scan
- "#recycle" #synology NAS recycle bin
- "@eaDir" #synology NAS index/metadata folders
remember-me:
key: changeMe! #required to activate the remember-me auto-login via cookies
validity: 2592000 #validity of the cookie in seconds, here 1 month
database:
2023-08-03 11:23:16 +02:00
file: __DATA_DIR__.komga/database.sqlite
2021-02-28 21:21:15 +01:00
database-backup:
path: ~/.komga/database-backup.zip
schedule: "0 0 */6 * * ?" #every 6 hours
enabled: true
startup: true
server:
port: __PORT__
servlet.context-path: __PATH__/
spring:
datasource:
url: jdbc:h2:/path/to/your/database.h2 #absolute path for Unix
url: jdbc:h2:D:\\komga\database.h2 #absolute path for Windows
url: jdbc:h2:~/.komga/database.h2 #relative path to user home directory
url: jdbc:h2:./komga/database.h2 #relative path to current directory