/etc/orthanc/postgresql.json is in orthanc-postgresql 2.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | {
/**
* 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.
* Have a look at "/usr/share/doc/orthanc-postgresql/README.Debian"
* for a tutorial.
**/
"PostgreSQL" : {
// Enable the use of PostgreSQL to store the Orthanc index?
"EnableIndex" : false,
// Enable the use of PostgreSQL to store the DICOM files?
"EnableStorage" : false,
// Option 1: Specify explicit authentication parameters
"Host" : "localhost",
"Port" : 5432,
"Database" : "orthanc_db",
"Username" : "orthanc_user",
"Password" : "my_password",
// Option 2: Authenticate using PostgreSQL connection URI
// "ConnectionUri" : "postgresql://orthanc_user:my_password@localhost:5432/orthanc_db",
// Optional: Disable the locking of the PostgreSQL database
"Lock" : false
}
}
|