Orthanc Container: Unable to Connect to Specified PostgreSQL Database

I am attempting to launch Orthanc inside a container while connecting it to a PostgreSQL database. However, despite passing the ORTHANC__POSTGRESQL__DATABASE environment variable with a valid database name, Orthanc continues to attempt to connect to the default public schema.

This results in the following error:
ERROR: permission denied for schema public

How can I configure Orthanc to connect to the specified database and avoid it defaulting to the public schema?

Any assistance on resolving this issue would be greatly appreciated.

Please share your compose/config file and the logs.
You could also have a look here and compare with your setup:

Regards,

Well, this is currently not possible. I have added it in our TODO.

1 Like