mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
@ -20,14 +20,19 @@ docspell.joex {
|
||||
|
||||
# The database connection.
|
||||
#
|
||||
# By default a H2 file-based database is configured. You can provide
|
||||
# a postgresql or mariadb connection here. When using H2 use the
|
||||
# PostgreSQL compatibility mode and AUTO_SERVER feature.
|
||||
#
|
||||
# It must be the same connection as the rest server is using.
|
||||
jdbc {
|
||||
|
||||
# The JDBC url to the database. By default a H2 file-based
|
||||
# database is configured. You can provide a postgresql or mariadb
|
||||
# connection here. When using H2 use the PostgreSQL compatibility
|
||||
# mode and AUTO_SERVER feature.
|
||||
url = "jdbc:h2://"${java.io.tmpdir}"/docspell-demo.db;MODE=PostgreSQL;DATABASE_TO_LOWER=TRUE;AUTO_SERVER=TRUE"
|
||||
|
||||
# The database user.
|
||||
user = "sa"
|
||||
|
||||
# The database password.
|
||||
password = ""
|
||||
}
|
||||
|
||||
|
@ -280,6 +280,7 @@ docspell.server {
|
||||
|
||||
# Configuration for the backend.
|
||||
backend {
|
||||
|
||||
# Enable or disable debugging for e-mail related functionality. This
|
||||
# applies to both sending and receiving mails. For security reasons
|
||||
# logging is not very extensive on authentication failures. Setting
|
||||
@ -287,13 +288,17 @@ docspell.server {
|
||||
mail-debug = false
|
||||
|
||||
# The database connection.
|
||||
#
|
||||
# By default a H2 file-based database is configured. You can
|
||||
# provide a postgresql or mariadb connection here. When using H2
|
||||
# use the PostgreSQL compatibility mode and AUTO_SERVER feature.
|
||||
jdbc {
|
||||
# The JDBC url to the database. By default a H2 file-based
|
||||
# database is configured. You can provide a postgresql or
|
||||
# mariadb connection here. When using H2 use the PostgreSQL
|
||||
# compatibility mode and AUTO_SERVER feature.
|
||||
url = "jdbc:h2://"${java.io.tmpdir}"/docspell-demo.db;MODE=PostgreSQL;DATABASE_TO_LOWER=TRUE;AUTO_SERVER=TRUE"
|
||||
|
||||
# The database user.
|
||||
user = "sa"
|
||||
|
||||
# The database password.
|
||||
password = ""
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user