forked from pool/orthanc-postgresql
additional cleaning of spec file & remarks from last submit OBS-URL: https://build.opensuse.org/request/show/745160 OBS-URL: https://build.opensuse.org/package/show/graphics/orthanc-postgresql?expand=0&rev=1
28 lines
820 B
JSON
28 lines
820 B
JSON
{
|
|
/**
|
|
* Configuration to use PostgreSQL instead of the default SQLite
|
|
* back-end of Orthanc. You will have to install the
|
|
* "orthanc-postgresql" package to take advantage of this feature.
|
|
**/
|
|
"PostgreSQL" : {
|
|
// Enable the use of PostgreSQL to store the Orthanc index?
|
|
"EnableIndex" : true,
|
|
|
|
// Enable the use of PostgreSQL to store the DICOM files?
|
|
"EnableStorage" : false,
|
|
|
|
// Option 1: Specify explicit authentication parameters
|
|
"Host" : "localhost",
|
|
"Port" : 5432,
|
|
"Database" : "orthanc",
|
|
"Username" : "orthanc_user",
|
|
"Password" : "my_password",
|
|
|
|
// Option 2: Authenticate using PostgreSQL connection URI
|
|
// "ConnectionUri" : "postgresql://orthanc_user:my_password@localhost:5432/orthanc",
|
|
|
|
// Optional: Disable the locking of the PostgreSQL database
|
|
"Lock" : false
|
|
}
|
|
}
|