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
Many Docker images allow setting env vars pointing to specific secret file.
For example, official PostgreSQL docker image, in addition to env var POSTGRES_PASSWORD, allows setting POSTGRES_PASSWORD_FILE, which, if set, must point to a file containing secret value.
All env vars in official PostgreSQL image, that allow _FILE override, are
POSTGRES_INITDB_ARGS -> POSTGRES_INITDB_ARGS_FILE
POSTGRES_PASSWORD -> POSTGRES_PASSWORD_FILE
POSTGRES_USER -> POSTGRES_USER_FILE
POSTGRES_DB -> POSTGRES_DB_FILE
This feature makes sense for secrets other than regular settings, that's why it might be a good idea to add it to this package.