Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/telkomindonesia/gomplate-docker


https://github.com/telkomindonesia/gomplate-docker

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Gomplate Docker

Continuously watch `/opt/gomplate` directory for change and render templates in `/opt/gomplate/template.d` with config in `/opt/gomplate/config.yaml` and/or context in `/opt/gomplate/context.yaml` or datasources in `/opt/gomplate/datasource.d`. The output file is a one to one mapping from the template with `/opt/gomplate/template.d` omitted, e.g. `/opt/gomplate/template.d/tests/test.yaml` will render as `/tests/test.yaml`.

Note that you can specify config and/or context or datasources. In case of datasources without config and context, the filename (without extension) will be the alias, e.g. `/opt/gomplate/datasource.d/secret.yaml` has alias `secret`.