Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/westtrade/docker-configurator

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.
https://github.com/westtrade/docker-configurator

docker

Last synced: 1 day ago
JSON representation

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.

Awesome Lists containing this project

README

        

# Configurator for docker containers

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b335ba3878a242f08c89a0dad93a4919)](https://www.codacy.com/app/westtrade/docker-configurator?utm_source=github.com&utm_medium=referral&utm_content=westtrade/docker-configurator&utm_campaign=badger)

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.

## Run outside of docker

Install docker-configurator with npm

```shell
npm i docker-configurator -g
```
or yarn way

```shell
yarn global add docker-configurator
```

Create next folder structure inside any folder

```
./
config/
template.dust
service.conf
```

and run

```shell
docker-configurator
```

## Templates

### Helpers

**inspect**

**containers**

**json**