I got the same challenge and found a (partial) solution. While the settings are named ORGANIZATIONS_INSTALLATION_URL and ORGANIZATIONS_URL_BASE_PATH, the environment variables have to be prefixed with MAYAN_. Quote from https://docs.mayan-edms.com/apps/smart_settings:
To pass a value via an environment variable append “MAYAN_” to the name of the settings option.
This means the following has to be set, either in the .env file or in the docker-compose.yml file (for the x-mayan-container service):
After restarting the Docker container, the Mayan EDMS instance is still available via localhost by accessing the following URL: http://localhost:49160/mayan/one
I got one issue, though: Accessing this URL redirects to localhost:49160/mayan/one/authentication/login/?next=/mayan/one/home/ (which looks ok). But after successful login one gets redirected to localhost:49160/#/ and an empty white page (the HTML source only contains a <script> element with some stuff) is displayed. After manually accessing localhost:49160/mayan/one I’m able to use the instance.
Does anyone know how to fix this “white screen login” issue?
Sorry for the incomplete links, but I’m not allowed to post more than two URLs.