Closed miesgre closed 5 years ago
Maybe, something like this (https://medium.com/@basi/docker-environment-variables-expanded-from-secrets-8fa70617b3bc) can be added to the images.
The available environment options are more meant for quit tests rather than production deployments. In the latter case, you would rather mount Opencast's configuration files into the container or use secrets and link to them in the configuration folder. Regardless, I agree that we could add support passing secrets in this manner.
The official images from Docker use the patter <var>_FILE
to point to a file that contains the value for the environment variable <var>
(see mysql, mongo, postgres). I would suggest to stick to that pattern.
I will see, when I can implement this feature. It should be easy to implement.
latest
, 5.2
, and next
images.
Is it posible tu use docker secrets instead of environment params for sensitive data?