Generate configuration for docker container apps like nginx, from its metadata such as ip, port or any environment variables. Watch for container changes and reload container.
Install docker-configurator with npm
npm i docker-configurator -g
or yarn way
yarn global add docker-configurator
Create next folder structure inside any folder
./
config/
template.dust
service.conf
and run
docker-configurator
inspect
containers
json