configuration files orthanc docker

I am not a programmer and in fact i learn how to setup orthanc server from the forum and from orthanc book.

I have setup several instances of orthanc server in my office in a synology nas and in ubuntu linux through docker. I read in orthanc book several ways to pass configuration in orthanc docker.

I found my self, that for me the quickest and easiest way to have the configuration files is through docker volume of the etc/orthanc directory where i put and edit configution files.
I have not read about this method in orthanc book. Is that because is obvious? is that because is consider a security flaw?

many thanks,

Kyriakos

Hello,

The Orthanc Book explains how to use a custom configuration file in Docker, which I think is what you are referring to:
https://book.orthanc-server.com/users/docker.html#fine-tuning-the-configuration

If you can use Docker Compose (not the plain Docker engine), another way of providing configuration files as a secret is also explained:
https://book.orthanc-server.com/users/docker.html#configuration-management-using-docker-compose

If you are a sysadmin and if you prefer using environment variables, check out the Docker images by Osimis:
https://book.orthanc-server.com/users/docker-osimis.html

Sébastien-