Skip to content

Download config from consul and store locally in a .env file

License

Notifications You must be signed in to change notification settings

greuze/consul-to-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

consul-to-env

Download config from consul and store locally in a .env file

Example of use (module installed globally)

consul-to-env -u 'user:pass' -b 'https://consul.example.com/v1/kv/' -c 'config/app/' -o env

Example of use (module only locally)

npx -p . consul-to-env -u 'user:pass' -b 'https://consul.example.com/v1/kv/' -c 'config/app/' -o env

or

node index.js -u 'user:pass' -b 'https://consul.example.com/v1/kv/' -c 'config/app/' -o env

About

Download config from consul and store locally in a .env file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published