You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is currently possible to specify the postgresql password as a docker secret using POSTGRESQL_PASSWORD_FILE environment variable.
It would be nice to be able to also specify API_KEYS in a similar way.
ie. to add an environment variable called API_KEYS_FILE which would open the specified file and set API_KEYS to the contents.
I think this should just be a simple addition to the docker-entrypoint.sh script, similar to how POSTGRES_PASSWORD_FILE is handled.
eg.
if [ ! -z $API_KEYS_FILE ]
then
API_KEYS=$(cat "$API_KEYS_FILE")
export API_KEYS
fi
Thanks!
The text was updated successfully, but these errors were encountered:
It is currently possible to specify the postgresql password as a docker secret using POSTGRESQL_PASSWORD_FILE environment variable.
It would be nice to be able to also specify API_KEYS in a similar way.
ie. to add an environment variable called API_KEYS_FILE which would open the specified file and set API_KEYS to the contents.
I think this should just be a simple addition to the docker-entrypoint.sh script, similar to how POSTGRES_PASSWORD_FILE is handled.
eg.
Thanks!
The text was updated successfully, but these errors were encountered: