mirror of
https://github.com/gotson/komga.git
synced 2026-05-07 20:15:47 +02:00
- Complete PostgresUdfProvider implementations (REGEXP, strip accents, collation) - Add regexp method to DatabaseUdfProvider interface - Update SqliteUdfProvider with regexp implementation - Add regexp helper to JooqUdfHelper - Fix PostgreSQL connection configuration issues - Create PostgreSQL test configuration files - Update build.gradle.kts with PostgreSQL dependencies - Fix application-test.yml template processing issues - Remove temporary migration conversion scripts - Update task tracking documentation
54 lines
No EOL
1.3 KiB
YAML
54 lines
No EOL
1.3 KiB
YAML
spring:
|
|
datasource:
|
|
main:
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
jdbc-url: jdbc:postgresql://localhost:5433/komga
|
|
username: komga
|
|
password: komga123
|
|
driver-class-name: org.postgresql.Driver
|
|
hikari:
|
|
maximum-pool-size: 10
|
|
minimum-idle: 2
|
|
connection-timeout: 30000
|
|
idle-timeout: 600000
|
|
max-lifetime: 1800000
|
|
tasks:
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
jdbc-url: jdbc:sqlite:file:${user.home}/.komga/tasks.sqlite?foreign_keys=on&busy_timeout=10000&journal_mode=WAL&synchronous=NORMAL
|
|
driver-class-name: org.sqlite.JDBC
|
|
hikari:
|
|
maximum-pool-size: 1
|
|
minimum-idle: 1
|
|
connection-timeout: 30000
|
|
idle-timeout: 600000
|
|
max-lifetime: 1800000
|
|
|
|
flyway:
|
|
enabled: true
|
|
locations: classpath:db/migration/postgresql
|
|
baseline-on-migrate: true
|
|
validate-on-migrate: false
|
|
placeholders:
|
|
library-file-hashing: "true"
|
|
library-scan-startup: "false"
|
|
delete-empty-collections: "true"
|
|
delete-empty-read-lists: "true"
|
|
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: validate
|
|
|
|
jooq:
|
|
sql-dialect: postgres
|
|
|
|
komga:
|
|
database:
|
|
type: POSTGRESQL
|
|
|
|
server:
|
|
port: 25601
|
|
|
|
logging:
|
|
level:
|
|
org.flywaydb: DEBUG
|
|
org.springframework.jdbc: DEBUG |