A plug-in for config module to support docker secrets.
In order for the secrets to work, you will need a
custom-environment-variables file in your config folder, it will use the environment variable names as the secret name.
default: service: port: "PORT" mq: host: "MQ_HOST"
$ npm install config-secrets
To change the location where the docker secrets are stored, you can add a
SECRETS_PATH environment variable, default location is
Environment variables takes precedent over docker secrets, so if your application needs different setting over the docker secret, you can add the environment variable to overwrite it.