This will connect Mayan EDMS to an external database only. If there is existing content, it needs to be imported over from the existing database to the new one before proceeding with the change.
I have determined a work around for the issue. It appears that the SSL connection is forcing the Client Certificate and Key files as well as the Root Cert file to be read even if they are not needed (PGSSLMODE=require) does not need these files. After several attempts to include the files, I set options in the docker-compose.yml to bogus names and now it is able to connect: