A plug-in for [config](https://www.npmjs.com/package/config) module to support docker secrets.
npm install config-secrets custom-environment-variables ` file in your config folder, it will use the environment variable names as the secret name.
###### custom-environment-variables.yml
`
default:
service:
port: "PORT"
mq:
host: "MQ_HOST"
`
$3
`
$ npm install config-secrets
`
Configuration
To change the location where the docker secrets are stored, you can add a ` SECRETS_PATH ` environment variable, default location is ` /run/secrets ``