Hello, we are about to deploy hydra (and other ory services) for first production tests and want to set them up in a secure way. We wanted to use docker secrets for critical values but could not figure out how. Is there a (simple) way to use docker secrets with the standard docker images? appending _FILE to env variables does not seem to work? (e.g. DSN_FILE=/run/secrets/hydra_dsn). We would prefer to not have the whole config files in a secret (only credentials and other secrets)
10/14/2021, 10:13 AM
For that you would need your own entrypoint script which expands these file variables to environmental variables with actual values.
10/14/2021, 11:33 AM
ok, that's what I thought. just wanted to confirm that there wasn't another way that we missed. thanks.