I am glad to hear that.
As for the way to preserve the value when restarting the container with docker-compose: as I mentioned, the easiest way is to keep the container running and avoid stopping it. However, if you are planning on restarting the container frequently, you can mount custom config into the container with Document Server and pass required parameters in it. I’ve shared the description of this procedure previously in this thread, please take a look at:
Please note that this is an example, your configuration may differ from the one provided there.